Skip to content

Commit

Permalink
fix: use the word text instead of trigger_text
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Aug 8, 2023
1 parent c49d35f commit 8675331
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions benefits/core/templates/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% endblock headline %}

{% block call-to-action %}
{% translate "Choose your Provider" as trigger_text %}
{% include "core/includes/modal-trigger.html" with modal="modal--agency-selector" classes="btn btn-lg btn-primary" text=trigger_text period=False %}
{% translate "Choose your Provider" as text %}
{% include "core/includes/modal-trigger.html" with modal="modal--agency-selector" classes="btn btn-lg btn-primary" text=text period=False %}
{% include "core/includes/modal--agency-selector.html" with id="modal--agency-selector" %}
{% endblock call-to-action %}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<div class="media-body--details">
<p>
{% translate "Your contactless card must be a debit or credit card by Visa or Mastercard." %}
{% translate "Learn more about contactless cards" as trigger_text %}
{% include "core/includes/modal-trigger.html" with modal="modal--contactless" text=trigger_text period=True %}
{% translate "Learn more about contactless cards" as text %}
{% include "core/includes/modal-trigger.html" with modal="modal--contactless" text=text period=True %}
</p>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="media-body--details">
<p>
{% translate "You will be able to create an account using your email address if you do not already have one. We use your Login.gov account to verify your identity." %}
{% translate "Learn more about identity verification" as trigger_text %}
{% include "core/includes/modal-trigger.html" with modal="modal--identity-verification" text=trigger_text period=True %}
{% translate "Learn more about identity verification" as text %}
{% include "core/includes/modal-trigger.html" with modal="modal--identity-verification" text=text period=True %}
</p>
<div class="media-body--items">
<p>{% translate "For this process you will need:" %}</p>
Expand Down

0 comments on commit 8675331

Please sign in to comment.