Add required attribute to name field

This commit is contained in:
Marcus Moore 2025-02-04 13:33:16 -08:00
parent 0d62ab2ad4
commit f3959323ff
No known key found for this signature in database

View file

@ -56,7 +56,7 @@
<div class="form-group {{ $errors->has('name') ? ' has-error' : '' }}">
<label for="name" class="col-md-3 control-label">{{ trans('admin/groups/titles.group_name') }}</label>
<div class="col-md-6 required">
<input class="form-control" type="text" name="name" id="name" value="{{ old('name', $group->name) }}" />
<input class="form-control" type="text" name="name" id="name" value="{{ old('name', $group->name) }}" required />
{!! $errors->first('name', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
</div>
</div>