@if($new) {!! Form::hidden('published', '0') !!} {!! Form::checkbox('published', '1', true) !!} @else {!! Form::hidden('published', '0') !!} {!! Form::checkbox('published', '1') !!} @endif {!! Form::label('published', trans('general.publicado')) !!}
{!! Form::label('title', trans('general.titulo')) !!} {!! Form::text('title', null, ['class' => 'form-control']) !!} @if ($errors->has('title')) {{ $errors->first('title') }} @endif
{!! Form::label('description', trans('general.descripcion')) !!} {!! Form::textarea('description', null, ['class' => 'form-control']) !!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif
{!! Form::label('image', trans('general.imagen')) !!} {!! Form::file('image') !!} @if ($errors->has('image')) {{ $errors->first('image') }} @endif
{!! Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']) !!} {{trans('general.cancel')}}