fix(quote): add missing required asterisk and error hint to step 4
All checks were successful
CI / test (push) Successful in 54s
CI / tag (push) Successful in 3s

Step 4 (Project Phase) required location_status server-side but had no
visual "*" indicator and no error message when submitting without a
selection. All other steps already had both.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-03-04 22:21:57 +01:00
parent 5bcd87d7e5
commit ad02140594
3 changed files with 4 additions and 1 deletions

View File

@@ -8,7 +8,8 @@
<p class="q-step-sub">{{ t.q4_subheading }}</p>
<div class="q-field-group">
<span class="q-label">{{ t.q4_phase_label }}</span>
<span class="q-label">{{ t.q4_phase_label }} <span class="required">*</span></span>
{% if 'location_status' in errors %}<p class="q-error-hint">{{ t.q4_error_phase }}</p>{% endif %}
<div class="q-pills">
{% for val, label in [('still_searching', t.q4_phase_searching), ('location_found', t.q4_phase_found), ('converting_existing', t.q4_phase_converting), ('lease_signed', t.q4_phase_lease_signed), ('permit_not_filed', t.q4_phase_permit_not_filed), ('permit_pending', t.q4_phase_permit_pending), ('permit_granted', t.q4_phase_permit_granted)] %}
<label><input type="radio" name="location_status" value="{{ val }}" {{ 'checked' if data.get('location_status') == val }}><span class="q-pill">{{ label }}</span></label>

View File

@@ -428,6 +428,7 @@
"q4_phase_permit_not_filed": "Baugenehmigung noch nicht beantragt",
"q4_phase_permit_pending": "Baugenehmigung in Bearbeitung",
"q4_phase_permit_granted": "Baugenehmigung erteilt",
"q4_error_phase": "Bitte wähle Deine Projektphase aus.",
"q5_heading": "Zeitplan",
"q5_subheading": "Wann möchtest Du beginnen?",
"q5_timeline_label": "Zeitplan",

View File

@@ -428,6 +428,7 @@
"q4_phase_permit_not_filed": "Permit not yet filed",
"q4_phase_permit_pending": "Permit in progress",
"q4_phase_permit_granted": "Permit approved",
"q4_error_phase": "Please select your project phase.",
"q5_heading": "Timeline",
"q5_subheading": "When do you want to get started?",
"q5_timeline_label": "Timeline",