diff --git a/uber/templates/forms/attendee/admin_badge_flags.html b/uber/templates/forms/attendee/admin_badge_flags.html index 1292250fb..5bfa1b604 100644 --- a/uber/templates/forms/attendee/admin_badge_flags.html +++ b/uber/templates/forms/attendee/admin_badge_flags.html @@ -133,7 +133,7 @@
{{ form_macros.form_input(badge_flags.badge_status, admin_text=attendee.cannot_edit_badge_status_reason, disabled=(attendee.cannot_edit_badge_status_reason != '')) }}
-
{{ form_macros.form_input(badge_flags.badge_type) }}
+
{{ form_macros.alpine_form_input(badge_flags.badge_type, alpine_props={'x-model':'badge_type'}) }}
{{ form_macros.form_input(badge_flags.badge_num, extra_field=form_macros.toggle_checkbox(badge_flags.no_badge_num, [badge_flags.badge_num], hide_on_checked=True, prop="readonly", checked=not attendee.badge_num)) }}
diff --git a/uber/templates/forms/attendee/admin_staffing_info.html b/uber/templates/forms/attendee/admin_staffing_info.html index 33a76af7f..855f66675 100644 --- a/uber/templates/forms/attendee/admin_staffing_info.html +++ b/uber/templates/forms/attendee/admin_staffing_info.html @@ -18,25 +18,6 @@ {{ form_macros.alpine_form_input(staffing_info.staffing, admin_text=staffing_admin_text, alpine_props={'x-model.boolean':'staffing'}) }} -
Walk-On Volunteer
diff --git a/uber/templates/forms/macros.html b/uber/templates/forms/macros.html index 315768f93..12d5dfd27 100644 --- a/uber/templates/forms/macros.html +++ b/uber/templates/forms/macros.html @@ -234,6 +234,12 @@ {{ field(**custom_kwargs) }} {{ form_input_extras(field, help_text, admin_text) }}
+ {% elif type == 'select' %} +
+ {{ field(class="form-select", **custom_kwargs) }} + {{ alpine_form_label(field, label_text=label_text, required_if=required_if) }} + {{ form_input_extras(field, help_text, admin_text) }} +
{% else %}
{{ field(class="form-control", **custom_kwargs) }} diff --git a/uber/templates/registration/form.html b/uber/templates/registration/form.html index 81c4e4276..fcd59b822 100644 --- a/uber/templates/registration/form.html +++ b/uber/templates/registration/form.html @@ -172,7 +172,24 @@

{{ attendee.full_name }} currently owes {{ (receipt.current_amount_o {{ form_macros.form_validation('attendee-form') }} -
+ {{ csrf_token() }}