Skip to content

Commit e634302

Browse files
committed
Extract decorative arrows into CSS on fundraising form
1 parent 777cd96 commit e634302

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

djangoproject/templates/fundraising/manage-donations.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ <h1>{% translate "Manage your donations to the Django Software Foundation" %}</h
2323
{% endblocktranslate %}
2424
</p>
2525

26-
<form enctype="multipart/form-data" action="" method="post" class="form-input django-hero-form"
26+
<form enctype="multipart/form-data" action="" method="post" class="django-hero-form"
2727
data-stripe-key="{{ stripe_publishable_key }}" data-stripe-icon="{% static 'img/dj-stripe-icon.jpg' %}"
2828
data-update-card-url="{% url 'fundraising:update-card' %}">
2929
<h2>{% translate "Manage your participation in the fundraising campaigns" %}</h2>
3030
<p>{% translate "Information entered below will be visible on all of your donations to the Django Project." %}</p>
3131
{% csrf_token %}
3232
{% include 'fundraising/includes/_form.html' with form=hero_form %}
33-
<p class="submit">
34-
<input type="submit" class="cta" value="{% translate "Save &rarr;" context "Save personal details about donation" %}">
35-
</p>
33+
<div class="submit">
34+
<button type="submit" class="cta arrow">{% translate "Save" context "Save personal details about donation" %}</button>
35+
</div>
3636
{# Always include to avoid "Management form has been tampered with" if no recurring donations exist #}
3737
{{ modify_donations_formset.management_form }}
3838
{% if recurring_donations %}
@@ -47,9 +47,9 @@ <h2>{% translate "Modify your recurring donations" %}</h2>
4747
<span class="change-card-result"></span>
4848
</div>
4949
{% endfor %}
50-
<p class="submit">
51-
<input type="submit" class="cta" value="{% translate "Save &rarr;" context "Save personal details about donation" %}">
52-
</p>
50+
<div class="submit">
51+
<button type="submit" class="cta arrow">{% translate "Save" context "Save personal details about donation" %}</button>
52+
</div>
5353
</form>
5454
<hr />
5555
<h2>{% translate "Cancel your recurring donations" %}</h2>

0 commit comments

Comments
 (0)