@if ($message = Session::get('success'))
{{ $message }}
@endif
@if (count($errors) > 0)
Whoops! There were some problems with your input.
@endif
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
Ajouter Information
{{ Form::model($information,array('route' => array('informations.update', $information->id), 'method' => 'PUT','enctype'=>'multipart/form-data')) }}
{{ Form::label('titre', 'Titre') }}
{{ Form::text('titre', null, array('class' => 'form-control','required' => 'true')) }}
{{ Form::label('description', 'Description') }}
{{ Form::label('photo', 'Image') }}
{!! Form::file('photo', array('class' => 'form-control')) !!}
{{ Form::submit('Modifier', array('class' => 'btn btn-warning')) }}
{{ Form::close() }}