@if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Create New Announcement


{!! Form::open(['method' => 'POST','accept-charset' => "UTF-8" ,'role' => 'form' , 'enctype' => 'multipart/form-data' , 'data-parsley-validate' , 'id' => 'demo-form2', 'class' => 'form-horizontal form-label-left','route' => 'announcement.store']) !!}
{!! Form::text('title', null, array('placeholder' => 'Title','class' => 'form-control')) !!}
{!! ($errors->has('title') ? $errors->first('title', '

:message

') : '') !!}
{!! Form::textarea('description',null, array('placeholder' => 'Description','class' => 'form-control col-md-7 col-xs-12' , 'rows' => '3')) !!}
{!! Form::hidden('status', 'Active', array('placeholder' => 'Status','class' => 'form-control')) !!} {!! ($errors->has('description') ? $errors->first('description', '

:message

') : '') !!}
{!! Form::close() !!}