@include('admin.magazines.top',array('title' => 'Contenuti')) {{ HTML::style('packages/bootstrap/css/datepicker3.css' ,array('type' => 'text/css'))}} {{ HTML::script('packages/bootstrap/js/bootstrap-datepicker.js')}} {{ HTML::script('packages/bootstrap/js/locales/bootstrap-datepicker.it.js')}} {{ Form::open(array('url'=>'private-area/new-magazine', 'class'=>'form-admin')) }} @if(count($errors)>0)
@endif @foreach ($fields as $field => $param) @if($errors->first($field)!="")
@else
@endif @if($param['type']=="text") {{ Form::text($field, "", array('class'=>'form-control', 'placeholder'=>$param['placeholder'], 'id'=>$field)) }} @elseif($param['type']=="date")
@endif @if($errors->first($field)!="") {{ $errors->first($field) }} @endif
@endforeach {{ Form::submit('Conferma', array('class'=>'btn btn-lg btn-primary'))}} Annulla {{ Form::close() }}