{{ $panel }}

{!! Form::select('faculty', $data['faculties'], null, ['class' => 'form-control chosen-select', 'onChange' => 'loadSemesters(this);']) !!}
{!! Form::label('publish_date', 'Publish Date', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('publish_date', null, ["placeholder" => "", "class" => "form-control border-form input-mask-date date-picker","data-date-format" => "yyyy-mm-dd"]) !!} @include('includes.form_fields_validation_message', ['name' => 'publish_date'])
{!! Form::label('end_date', 'End Date', ['class' => 'col-sm-1 control-label']) !!}
{!! Form::text('end_date', null, ["placeholder" => "", "class" => "form-control border-form input-mask-date date-picker","data-date-format" => "yyyy-mm-dd"]) !!} @include('includes.form_fields_validation_message', ['name' => 'end_date'])
{!! Form::label('title', 'QuestionTitle', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('title', null, ["class" => "form-control border-form"]) !!} @include('includes.form_fields_validation_message', ['name' => 'title'])
{!! Form::label('description', 'Detail', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::textarea('description', null, ["class" => "form-control border-form", "id"=>"summernote", "rows"=>"4"]) !!} @include('includes.form_fields_validation_message', ['name' => 'description'])
{!! Form::label('attach_file', 'Attachment File', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::file('attach_file', null, ["placeholder" => "", "class" => "form-control border-form"]) !!} @include('includes.form_fields_validation_message', ['name' => 'attach_file'])
@if (isset($data['row']))
{!! Form::label('old_file', 'Old File', ['class' => 'col-sm-2 control-label']) !!}
@if ($data['row']->file)  {{ $data['row']->title }} @else

No File.

@endif
@endif