@component('admin.components.info') These are the awards that pilots can earn. Each award is assigned an award class, which will be run whenever a pilot's stats are changed, including after a PIREP is accepted. @endcomponent
{!! Form::label('name', 'Name:') !!} *
   This will be the title of the award
{!! Form::text('name', null, ['class' => 'form-control']) !!}

{{ $errors->first('name') }}

{!! Form::label('image', 'Image:') !!}
   This is the image of the award. Be creative!
{!! Form::text('image_url', null, [ 'class' => 'form-control', 'placeholder' => 'Enter the url of the image location' ]) !!}

{{ $errors->first('image_url') }}

{!! Form::label('description', 'Description:') !!} 
   This is the description of the award.
{!! Form::textarea('description', null, ['class' => 'form-control']) !!}

{{ $errors->first('description') }}

{{ Form::label('ref_model', 'Award Class:') }} {{ Form::select('ref_model', $award_classes, null , [ 'class' => 'form-control select2', 'id' => 'award_class_select', ]) }}

{{ $errors->first('ref_model') }}

{{ Form::label('ref_model_params', 'Award Class parameters') }} {{ Form::text('ref_model_params', null, ['class' => 'form-control']) }}

{{ $errors->first('ref_model_params') }}

{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!} Cancel