@if(isset($material))
{!! Form::model($material, ['method' => 'PATCH', 'action' => ['MaterialUsedController@update', $material->idMaterial], 'class' => 'form-horizontal']) !!}
@else
{!! Form::open(['url' => 'material-used', 'class' => 'form-horizontal']) !!}
@endif
{!! Form::submit('SAVE',['class' => 'btn btn-raised btn-primary btn-round waves-effect']) !!}
{!! Form::close() !!}