Skip to content

Commit 13cf9bc

Browse files
committed
chore: manual lint fixes
1 parent 7d8746c commit 13cf9bc

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

benefits/enrollment/templates/enrollment/index-base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h2 class="h3 pb-1">{{ next_step }}</h2>
4242
{% block call-to-action-button %}
4343
<button type="button" class="btn btn-primary btn-lg loading" role="status" disabled>{% translate "Please wait..." %}</button>
4444
<div class="invisible">
45-
<button id="{{ cta_button }}" href="#{{ cta_button }}" class="btn btn-lg btn-primary" role="button">
45+
<button id="{{ cta_button }}" href="#{{ cta_button }}" class="btn btn-lg btn-primary" role="button" type="button">
4646
{% translate "Enroll" %}
4747
</button>
4848
</div>

benefits/in_person/templates/in_person/enrollment/index_littlepay.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="invisible">
1616
<h3 class="h5 mb-3">Card details</h3>
1717
<p>Provide the rider's contactless debit or credit card details.</p>
18-
<iframe class="card-collection" name="card-collection-iframe"></iframe>
18+
<iframe title="Card collection iframe" class="card-collection" name="card-collection-iframe"></iframe>
1919
</div>
2020
<div class="row d-flex justify-content-start p-3 pt-8">
2121
<div class="col-12">
@@ -30,7 +30,11 @@ <h3 class="h5 mb-3">Card details</h3>
3030
The iframe's source isn't set until the button is clicked.
3131
-->
3232
<div class="d-none">
33-
<button id="{{ cta_button }}" href="#{{ cta_button }}" class="btn btn-lg btn-primary" role="button">Enroll</button>
33+
<button id="{{ cta_button }}"
34+
href="#{{ cta_button }}"
35+
class="btn btn-lg btn-primary"
36+
role="button"
37+
type="button">Enroll</button>
3438
</div>
3539

3640
{% include "enrollment/includes/jquery.html" %}

benefits/templates/registration/password_reset_email.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
.link-button {
3333
background: #025B86;
3434
border-radius: 16px;
35+
color: #fff";
3536
font-weight: 700;
3637
padding: 8px 16px;
3738
text-decoration: none;
@@ -49,9 +50,7 @@ <h1>Your reset password link</h1>
4950
Click the button below to reset the password for your Cal-ITP Benefits Administrator account. This link will expire in 24 hours and can only be used once.
5051
</p>
5152
<div class="link-wrapper">
52-
<a style="color: #fff"
53-
class="link-button"
54-
href="{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}">
53+
<a class="link-button" href="{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}">
5554
Reset your password
5655
</a>
5756
</div>

0 commit comments

Comments
 (0)