@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::open(array('url' => 'informations','enctype'=>'multipart/form-data')) }}
{{ Form::label('titre', 'Titre') }}
{{ Form::text('titre', '', array('class' => 'form-control','required' => 'true')) }}
{{ Form::label('description', 'Description') }}
{{ Form::label('photo', 'Image') }}
{!! Form::file('photo', array('class' => 'form-control')) !!}
{{ Form::submit('Enregitrer', array('class' => 'btn btn-primary')) }}
{{ Form::close() }}