Fix sustainer form default

This commit is contained in:
Ben Sturmfels 2024-10-08 23:34:10 +11:00
parent 3fe83d1466
commit 1f83c2fb69
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -22,7 +22,7 @@
x-data="{
tshirt_size: 'None',
tshirt_required: function () { return this.tshirt_size !== 'None' },
recurring: 'once',
recurring: '',
}">
{% csrf_token %}
{{ form.errors }}
@ -35,7 +35,7 @@
<p class="f7 black-60 mt1">To send your receipt</p>
</div>
<div class="mb2"><label>
<label class="mr1"><input type="radio" name="recurring" value="" x-model="recurring"> Once</label>
<label class="mr1"><input type="radio" name="recurring" value="" checked x-model="recurring"> Once</label>
<label class="mr1"><input type="radio" name="recurring" value="month" x-model="recurring"> Monthly</label>
<label><input type="radio" name="recurring" value="year" x-model="recurring"> Annual</label>
</label></div>