{!! Form::open(['url' => action('WarrantyController@store'), 'method' => 'post', 'id' => 'warranty_form']) !!}
{!! Form::label('name', __( 'lang_v1.name' ) . ':*') !!}
{!! Form::text('name', null, ['class' => 'form-control', 'required', 'placeholder' => __( 'lang_v1.name' ) ]); !!}
{!! Form::label('description', __( 'lang_v1.description' ) . ':') !!}
{!! Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => __( 'lang_v1.description' ), 'rows' => 3 ]); !!}
{!! Form::label('duration', __( 'lang_v1.duration' ) . ':') !!}*
{!! Form::number('duration', null, ['class' => 'form-control width-40 pull-left', 'placeholder' => __( 'lang_v1.duration' ), 'required' ]); !!}
{!! Form::select('duration_type', ['days' => __('lang_v1.days'), 'months' => __('lang_v1.months'), 'years' => __('lang_v1.years')], '', ['class' => 'form-control width-60 pull-left','placeholder' => __('messages.please_select'), 'required']); !!}