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

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

Create New NewFeed


{!! 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' => 'newfeed.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('type', 'MP', array('placeholder' => 'Type','class' => 'form-control')) !!} {!! ($errors->has('description') ? $errors->first('description', '

:message

') : '') !!}
{!! Form::file('image',null, array('class' => 'form-control col-md-7 col-xs-12')) !!}
{!! ($errors->has('image') ? $errors->first('image', '

:message

') : '') !!}
{!! Form::file('video',null, array('class' => 'form-control col-md-7 col-xs-12')) !!}
{!! ($errors->has('video') ? $errors->first('image', '

:message

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