Mark category name as required in modals

Fix #16723
This commit is contained in:
Daniel O'Connor 2025-04-17 16:30:04 +09:30
parent 88acdbcc28
commit f03da92152

View file

@ -11,7 +11,7 @@
{{ csrf_field() }} {{ csrf_field() }}
<div class="alert alert-danger" id="modal_error_msg" style="display:none"> <div class="alert alert-danger" id="modal_error_msg" style="display:none">
</div> </div>
@include('modals.partials.name') @include('modals.partials.name', ['required' => 'true'])
<input type="hidden" name='category_type' id="modal-category_type" value="{{ request('category_type') }}" /> <input type="hidden" name='category_type' id="modal-category_type" value="{{ request('category_type') }}" />
</form> </form>
</div> </div>