@section('title') Eventos @stop @section('content-header') Eventos {{ $action }} @stop @section('breadcrumb')
  • Eventos
  • {{ $action }}
  • @stop @section('styles') {{ HTML::style('assets/vendor/jasny-bootstrap/dist/css/jasny-bootstrap.min.css')}} @stop @section('plugins') {{ HTML::script('assets/vendor/jasny-bootstrap/dist/js/jasny-bootstrap.min.js')}} @stop @section('content')
    {{ Form::model($event, $formOptions) }}
    {{ Form::label('title', 'Título')}} {{ Form::text('title', null, array('class' =>'form-control', 'required' => true)) }}
    {{ Form::label('date', 'Data do Evento') }}
    @if($event->start) {{ Form::text('start', $event->start->format('Y-m-d'), array('class' =>'form-control datepicker', 'required' => true)) }} @else {{ Form::text('start', date('Y-m-d'), array('class' =>'form-control datepicker', 'required' => true)) }} @endif
    {{ Form::label('hour', 'Hora do Evento') }} @if($event->start) {{ Form::select('hour', $hours, $event->start->format('H:i'), array('class' =>'form-control select2')) }} @else {{ Form::select('hour', $hours, null, array('class' =>'form-control select2')) }} @endif
    {{ Form::label('local', 'Local')}} {{ Form::text('local', null, array('class' =>'form-control', 'required' => true)) }}
    {{ Form::submit('Gravar', array('class' => 'btn btn-primary' ))}}
    {{ Form::close() }}
    @stop @section('scripts') @stop