
{!! Form::open(['url' => route('cms_content_author_store'), 'class' => 'modal-content']) !!}

<input type="hidden" name="id" id="id" value="@if($value->id>0){{$value->id}}@else new @endif">


<div class="modal-header">
    <h5 class="modal-title">
        {{ __('Autor') }}
        <span class="font-weight-light">erstellen/bearbeiten</span>
    </h5>
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
</div>
<div class="modal-body">
    <div class="form-row">
        <div class="form-group col-12">
            <label for="name" class="form-label">{{ __('Name') }}</label>
            {{ Form::text('name', $value->name,  array('placeholder'=>__('Name'), 'class'=>'form-control', 'required')) }}
        </div>
        <div class="form-group col-12">
            <label for="description" class="form-label">{{ __('Beschreibung') }}</label>
            {{ Form::textarea('description', $value->description,  array('class'=>'form-control')) }}
        </div>
    </div>



</div>
<div class="modal-footer">
    <button type="button" class="btn btn-default" data-dismiss="modal">schließen</button>
    <button type="submit" class="btn btn-primary">speichern</button>
</div>
{!! Form::close() !!}
