Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reCAPTCHA: Help page #2584

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions benefits/core/templates/core/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,8 @@
{% block main-content %}
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-10">
<div class="col-lg-8">
<h1 class="text-center">{% translate "Help" %}</h1>
</div>
</div>

<div class="row justify-content-center">
<div class="col-md-8 col-10">
<h2 class="h2-sm pt-4 pt-lg-8" id="what-is-cal-itp">{% translate "What is Cal-ITP Benefits?" %}</h2>
<p class="pt-2 pt-lg-4">
{% blocktranslate trimmed %}
Expand Down Expand Up @@ -137,11 +132,7 @@ <h2 class="h2-sm pt-4 pt-lg-8" id="questions">{% translate "Questions?" %}</h2>
provider.
{% endblocktranslate %}
</p>
</div>
</div>

<div class="row justify-content-center">
<div class="col-md-8 col-10">
{% if agency %}
{% include "core/includes/agency-links.html" %}
{% else %}
Expand All @@ -152,8 +143,8 @@ <h2 class="h2-sm pt-4 pt-lg-8" id="questions">{% translate "Questions?" %}</h2>
</div>
</div>

<div class="row pt-4 pt-lg-8">
<div class="col-lg-2 offset-lg-10 col-8 offset-2">
<div class="row justify-content-center pt-4 pt-lg-8">
<div class="col-12 col-lg-6">
{% translate "Go Back" as button_text %}
{% include "core/includes/button--origin.html" with button_text=button_text %}
</div>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried using the call-to-action or call-to-action-button blocks instead, but I can't b/c I'm overriding the parent main-content block entirely. I'm okay with it though, b/c this page is a different alignment and design from the rest of the pages... so it feels appropriate to override the base layout.

Expand Down
Loading