@if($edit == null)
Agregar
@elseEditar
@endif
@if ($edit == null)
{{ Form::open(['route' => 'administrador.ayuda.guardar', 'method'=>'POST']) }}
@else
{{ Form::model($edit, ['route' =>['administrador.ayuda.actualizar', Hashids::encode($edit->id, time())], 'method'=>'POST']) }}
@endif
{{ Form::label('titulo', "Titulo:", ['style'=>'font-weight: bold;']) }}*
{{ Form::text('titulo', null, ['required' => 'required', 'class'=>'form-control']) }}
{{ Form::label('descripcion', "Descripcion:", ['style'=>'font-weight: bold;']) }}* {{ Form::textArea('descripcion', null, ['class'=>'form-control rich']) }}
{{ Form::label('ruta', "Ruta:", ['style'=>'font-weight: bold;']) }}* {{ Form::text('ruta', null, ['required' => 'required', 'class'=>'form-control']) }}
{{ Form::submit('Guardar', array('class'=> 'btn btn-success btn-lg btn-block','id'=>"img")) }} {{ Html::linkRoute('administrador.ayudas', 'Cancelar', null, array('class' => 'btn btn-primary btn-danger btn-lg btn-block')) }} {{ Form::close() }}
{{ Form::label('descripcion', "Descripcion:", ['style'=>'font-weight: bold;']) }}* {{ Form::textArea('descripcion', null, ['class'=>'form-control rich']) }}
{{ Form::label('ruta', "Ruta:", ['style'=>'font-weight: bold;']) }}* {{ Form::text('ruta', null, ['required' => 'required', 'class'=>'form-control']) }}
{{ Form::submit('Guardar', array('class'=> 'btn btn-success btn-lg btn-block','id'=>"img")) }} {{ Html::linkRoute('administrador.ayudas', 'Cancelar', null, array('class' => 'btn btn-primary btn-danger btn-lg btn-block')) }} {{ Form::close() }}