{!! Form::hidden('main_content_id', (isset($id) ? $id : null), ['class' => 'form-control']) !!}
{!! Form::label('title', 'Title:') !!}
{!! Form::text('title', null, ['class' => 'form-control']) !!}
{!! Form::label('subtitle', 'Subtitle:') !!}
{!! Form::text('subtitle', null, ['class' => 'form-control']) !!}
{!! Form::label('description', 'Description:') !!}
{!! Form::textarea('description', null, ['class' => 'form-control']) !!}
{!! Form::label('description_second_language', 'Description Second Language:') !!}
{!! Form::textarea('description_second_language', null, ['class' => 'form-control']) !!}
{!! Form::hidden('order', $order, ['class' => 'form-control']) !!}
{!! Form::label('information_number', 'Information Number:') !!}
{!! Form::text('information_number', null, ['class' => 'form-control']) !!}
@if(!empty($contentBoxes->file))
@if(in_array($ext, ['jpeg','png','jpg','gif','svg']))
@else
File:
@endif
@endif
{!! Form::label('file', 'File:') !!}
{!! Form::file('file') !!}
{!! Form::label('button_text', 'Text on Button (optional):') !!}
{!! Form::text('button_text', null, ['class' => 'form-control']) !!}
@if(!empty($contentBoxes->signature))
@endif
@if($mainContent->type == 'endorsement')
{!! Form::label('signature', 'Signature:') !!}
{!! Form::file('signature') !!}
@endif