{{ csrf_field() }}

{!! Form::label('title', 'Titolo:') !!} {!! Form::text('title', null, array('class' => 'form-control title')) !!}
{!! Form::label('image', 'Immagine (300x200px):') !!}
{!! Form::file('image', null, array('class' => 'form-control')) !!}
@if (isset($video) && $video->image != '')
@endif
{!! Form::label('type', 'Piattaforma:') !!} {!! Form::select('type', ['Youtube' => 'Youtube', 'Vimeo' => 'Vimeo', 'Facebook' => 'Facebook'] , null, array('class' => 'form-control')) !!}
{!! Form::label('embed', 'Codice embed:') !!} {!! Form::textarea('embed', null, array('class' => 'form-control', 'rows' => '10')) !!}
{!! Form::label('file', 'Video:') !!}
{!! Form::file('file', null, array('class' => 'form-control')) !!}
@if (isset($video) && $video->file != '')
{{$video->file}} @endif
{!! Form::label('date', 'Data:') !!} {!! Form::text('date', null, array('class' => 'form-control')) !!}
{!! Form::label('online', 'Online:') !!}
{!! Form::checkbox('online', 'on', null) !!}
@section('extra_css') @stop @section('extra_js') @stop