Update Dashboard Layout

This commit is contained in:
Firman Herdiansyah
2025-02-05 13:36:33 +07:00
parent f38d518f96
commit 99e99fa2e6
96 changed files with 2817 additions and 414 deletions

View File

@@ -0,0 +1,14 @@
<div class="mb-3">
<input class="form-control{{ $errors->has('[% field_name %]') ? ' is-invalid' : '' }}" type="file" name="[% field_name %]" id="[% field_name %]" class="[% css_class %]">
</div>
@if (isset($[% model_name_singular_variable %]->[% field_name %]) && !empty($[% model_name_singular_variable %]->[% field_name %]))
<div class="input-group mb-3">
<div class="form-check">
<input type="checkbox" name="custom_delete_[% field_name %]" id="custom_delete_[% field_name %]" class="form-check-input custom-delete-file" value="1" {{ old('custom_delete_[% field_name %]', '0') == '1' ? 'checked' : '' }}>
</div>
<label class="form-check-label" for="custom_delete_[% field_name %]"> Delete {{ [% field_value %] }}</label>
</div>
@endif