Flight Visibility Visuals (#1485)

Added "visible" field display and form checkbox to control it easily from admin side (instead of going through database)
This commit is contained in:
B.Fatih KOZ
2022-10-14 20:27:46 +03:00
committed by GitHub
parent 2155979eb9
commit 2f9e8583f2
2 changed files with 20 additions and 2 deletions

View File

@@ -270,7 +270,7 @@
<div class="row">
<!-- Active Field -->
<div class="col-sm-4">
<div class="col-sm-3">
<div class="checkbox">
<label class="checkbox-inline">
{{ Form::label('active', 'Active:') }}
@@ -279,7 +279,17 @@
</label>
</div>
</div>
<div class="col-8">
<!-- Visible Field -->
<div class="col-sm-3">
<div class="checkbox">
<label class="checkbox-inline">
{{ Form::label('visible', 'Visible:') }}
<input name="visible" type="hidden" value="0" />
{{ Form::checkbox('visible') }}
</label>
</div>
</div>
<div class="col-6">
<div class="text-right">
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-info']) }}
</div>