Revise case levels display

This commit is contained in:
Ryan Prather 2024-12-10 22:54:01 -05:00
parent 1eac26399f
commit 7704319bd1

View File

@ -55,7 +55,7 @@
<select name='{{ field_name(form.level) }}' id='case_form_level' class='form-control'> <select name='{{ field_name(form.level) }}' id='case_form_level' class='form-control'>
<option value=''></option> <option value=''></option>
{% for l in enum('App\\Enums\\CaseLevel').cases() %} {% for l in enum('App\\Enums\\CaseLevel').cases() %}
<option value='{{ l.value }}'>{{ l.name }}</option> <option value='{{ l.value }}'>{{ l.name|replace({'_': ' '})|lower|capitalize }}</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>