Skip to content

Commit

Permalink
Fix "not a valid choice" when saving existing non-cabin reg
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsuta committed Apr 3, 2024
1 parent bcec6fa commit a6af8d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions magstock/templates/forms/attendee/badge_extras.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<div class="col-12">{{ form_macros.form_input(badge_extras.meal_restrictions, id=id_upgrade_prepend ~ "meal_restrictions") }}</div>
</div>
{% elif not is_prereg_attendee %}
{{ form_macros.form_input(badge_extras.cabin_type, force_hidden=True, default=0) }}
<div class="row g-sm-3">
<div class="col-12 col-sm-6">
<div class="form-text">{{ badge_extras.camping_type.label.text }}</div>
Expand Down

0 comments on commit a6af8d7

Please sign in to comment.