phpvms/resources/views/admin/ranks/fields.blade.php

62 lines
2.1 KiB
PHP
Raw Normal View History

2017-11-23 10:03:49 +08:00
<div class="row">
<!-- Name Field -->
2018-01-04 02:52:01 +08:00
<div class="form-group col-sm-6">
{!! Form::label('name', 'Name:') !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!}
</div>
2017-06-22 02:44:30 +08:00
<!-- Hours Field -->
2018-01-04 02:52:01 +08:00
<div class="form-group col-sm-6">
{!! Form::label('hours', 'Hours:') !!}
{!! Form::number('hours', null, ['class' => 'form-control']) !!}
</div>
2017-06-22 02:44:30 +08:00
</div>
<div class="row">
2018-01-04 02:52:01 +08:00
<div class="form-group col-md-12">
{!! Form::label('image_link', 'Image Link:') !!}
{!! Form::number('image_link', null, ['class' => 'form-control']) !!}
2017-06-22 02:44:30 +08:00
</div>
</div>
<div class="row">
<!-- Auto Approve Acars Field -->
2018-01-04 02:52:01 +08:00
<div class="form-group col-sm-4 text-center">
<div class="checkbox">
<label class="checkbox-inline">
{!! Form::hidden('auto_approve_acars', false) !!}
{!! Form::checkbox('auto_approve_acars', '1', true) !!}
{!! Form::label('auto_approve_acars', 'Auto Approve ACARS') !!}
</label>
</div>
</div>
2017-06-22 02:44:30 +08:00
<!-- Auto Approve Manual Field -->
2018-01-04 02:52:01 +08:00
<div class="form-group col-sm-4 text-center">
<div class="checkbox">
<label class="checkbox-inline">
{!! Form::hidden('auto_approve_manual', false) !!}
{!! Form::checkbox('auto_approve_manual', '1', true) !!}
{!! Form::label('auto_approve_manual', 'Auto Approve Manual') !!}
</label>
</div>
2017-06-22 02:44:30 +08:00
</div>
<!-- Auto Promote Field -->
2018-01-04 02:52:01 +08:00
<div class="form-group col-sm-4 text-center">
<div class="checkbox">
<label class="checkbox-inline">
{!! Form::hidden('auto_promote', false) !!}
{!! Form::checkbox('auto_promote', '1', true) !!}
{!! Form::label('auto_promote', 'Auto Promote') !!}
</label>
</div>
2017-06-22 02:44:30 +08:00
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="text-right">
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
</div>
2017-11-23 10:03:49 +08:00
</div>
</div>