@section('title') Viaturas Usadas @stop @section('content-header') Viaturas Usadas {{ $action }} @stop @section('breadcrumb')
  • Viaturas Usadas
  • {{ $action }}
  • @stop @section('styles') {{ HTML::style('assets/vendor/jquery.filer/css/jquery.filer.css') }} @stop @section('plugins') {{ HTML::script('assets/vendor/jquery.filer/js/jquery.filer.min.js') }} {{ HTML::script('assets/vendor/jquery.inputmask/dist/min/jquery.inputmask.bundle.min.js') }} @stop @section('content')
    {{ Form::model($veichle, $formOptions) }}
    {{ Form::label('title', 'Título')}} {{ Form::text('title', null, array('class' =>'form-control', 'required' => true)) }}
    {{ Form::label('brand', 'Marca') }} {{ Form::text('brand', null, array('class' =>'form-control', 'required' => true)) }}
    {{ Form::label('model', 'Modelo') }} {{ Form::text('model', null, array('class' =>'form-control', 'required' => true)) }}
    {{ Form::label('price', 'Preço')}} {{ Form::text('price', null, array('class' =>'form-control', 'required' => true)) }}
    {{ Form::label('year', 'Ano')}} {{ Form::select('year', $years, null, array('class' =>'form-control select2', 'required' => true)) }}
    {{ Form::label('month', 'Mês')}} {{ Form::select('month', trans('datetime.month'), null, array('class' =>'form-control select2', 'required' => true)) }}
    {{ Form::label('reference', 'Referência')}} {{ Form::text('reference', null, array('class' =>'form-control')) }}
    {{ Form::label('fuel', 'Combustivel') }} {{ Form::select('fuel', trans('fuel'),null, array('class' =>'form-control select2')) }}
    {{ Form::label('km', 'km') }} {{ Form::text('km', null, array('class' =>'form-control')) }}
    {{ Form::label('gearbox', 'Caixa Vel.') }} {{ Form::select('gearbox', array('auto' => 'Automática', 'manual' => 'Manual') ,null, array('class' =>'form-control select2')) }}
    {{ Form::label('potence', 'Potência (cv)') }} {{ Form::text('potence', null, array('class' =>'form-control')) }}
    {{ Form::label('displacement', 'Cilindrada (cc)') }} {{ Form::text('displacement', null, array('class' =>'form-control')) }}
    {{ Form::label('axis_length', 'Dist. Eixos')}} {{ Form::text('axis_length', null, array('class' =>'form-control')) }}
    {{ Form::label('co_emissions', 'Emissões')}} {{ Form::text('co_emissions', null, array('class' =>'form-control')) }}
    {{ Form::label('propulsion', 'Propulsão')}} {{ Form::text('propulsion', null, array('class' =>'form-control')) }}
    {{ Form::label('description', 'Breve descrição (texto livre)')}} {{ Form::textarea('description', null, array('class' =>'form-control ckeditor')) }}
    {{ Form::label('features', 'Características (1 por linha)')}} {{ Form::textarea('features', null, array('class' =>'form-control ckeditor')) }}
    {{ Form::label('files', 'Imagens') }} No máximo 5 imagens {{ Form::hidden('deleted_images', '[]') }}

    {{ Form::submit('Gravar', array('class' => 'btn btn-primary' ))}}
    {{ Form::close() }}
    @stop @section('scripts') @stop