Skip to content

Commit

Permalink
[Brent, TfL] Update generic.html to match base.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Oct 29, 2024
1 parent c726b00 commit 233bbfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion templates/web/brent/errors/generic.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
ELSE;
DEFAULT title = 'Error';
END %]
[% DEFAULT header_class = 'failure' %]
[% INCLUDE 'header.html', title = title %]

[% IF csrf_token ~%]
Expand Down Expand Up @@ -32,7 +33,7 @@ <h1>My Account login</h1>
</form>
</div>
[% ELSE %]
<div class="confirmation-header confirmation-header--failure">
<div class="confirmation-header confirmation-header--[% header_class %]">
<h1>[% title %]</h1>
<p>[% message | safe %]</p>
</div>
Expand Down
3 changes: 2 additions & 1 deletion templates/web/tfl/errors/generic.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
ELSE;
DEFAULT title = 'Error';
END %]
[% DEFAULT header_class = 'failure' %]
[% INCLUDE 'header.html', title = title %]

[% IF csrf_token ~%]
Expand Down Expand Up @@ -32,7 +33,7 @@ <h1>My Account login</h1>
</form>
</div>
[% ELSE %]
<div class="confirmation-header confirmation-header--failure">
<div class="confirmation-header confirmation-header--[% header_class %]">
<h1>[% title %]</h1>
<p>[% message | safe %]</p>
</div>
Expand Down

0 comments on commit 233bbfc

Please sign in to comment.