Skip to content

Commit

Permalink
Use hidden select to keep category openlibhums/consortial_billing#71
Browse files Browse the repository at this point in the history
  • Loading branch information
joemull authored and mauromsl committed Aug 6, 2024
1 parent 1998745 commit 77c4f21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/supporters/calculator.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
{% component "form_field" field=band_form.size %}
{% component "form_field" field=band_form.level %}
{% component "form_field" field=band_form.currency %}
{{ band_form.category }}
<div hidden>
{{ band_form.category }}
</div>
{% endfill %}
{% fill "other" %}
{% include 'custom/button-calculate.html' %}
Expand Down
4 changes: 3 additions & 1 deletion templates/custom/supporter-signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ <h2 id="next-step" class="text-white">
{% component "form_field" field=band_form.size %}
{% component "form_field" field=band_form.level %}
{% component "form_field" field=band_form.currency %}
{{ band_form.category }}
<div hidden>
{{ band_form.category }}
</div>
{% endcomponent_block %}
{% endfill %}
{% fill "other" %}
Expand Down

0 comments on commit 77c4f21

Please sign in to comment.