Fix engagement period validation for non periodic services
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<div id="engagement-period-field">
|
||||
<label class="mb-2 block text-sm font-medium text-slate-700">Return / Engagement Period</label>
|
||||
{% if mode == 'edit' %}
|
||||
<select name="period_label" required class="w-full rounded-xl border border-slate-300 px-4 py-2 text-sm">
|
||||
<select name="period_label" {% if period_required %}required{% endif %} class="w-full rounded-xl border border-slate-300 px-4 py-2 text-sm">
|
||||
{% for value, label in period_choices %}<option value="{{ value }}" {% if subscription and subscription.period_label == value %}selected{% endif %}>{{ label }}</option>{% endfor %}
|
||||
</select>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user