Heera/Modules/Admin/resources/views/dropdown/partials/action.blade.php

29 lines
1.1 KiB
PHP
Raw Normal View History

2024-05-16 03:46:08 +00:00
<div class="row g-3">
<div class="col-xxl-12">
{{ html()->label('Select Field')->class('form-label') }}
{{ html()->select('fid', $fieldLists)->class('form-select select2')->placeholder('Select Field')->required() }}
{{ html()->div('Please choose field')->class('invalid-feedback') }}
</div>
<div class="col-xxl-12">
{{ html()->label('Drop value')->class('form-label') }}
{{ html()->text('title')->class('form-control')->placeholder('Enter drop value')->required() }}
{{ html()->div('Please enter value')->class('invalid-feedback') }}
</div>
<div class="col-lg-12">
<div class="form-check form-check-right form-switch mb-3" dir="ltr">
{{ html()->checkbox('status')->value('11')->class('form-check-input')->checked(old('status', $status === 11)) }}
{{ html()->label('Status')->class('form-label') }}
</div>
</div>
<div class="col-lg-12">
<div class="hstack justify-content-end gap-2">
<button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">{{ $btnType }}</button>
</div>
</div><!--end col-->
</div><!--end row-->