@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_class', 'Award Class:') }} {{ Form::select('ref_class', $award_classes, null , [ 'class' => 'form-control select2', 'id' => 'award_class_select', ]) }}

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

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

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

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