Skip to content

Commit

Permalink
Move error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jimchamp committed Nov 12, 2024
1 parent c035993 commit 38a66cf
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions openlibrary/templates/account/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@

$var title: $_("Sign Up to Open Library")

<div class="flash-messages">
<div class="info ol-signup-form__info-box error">
<span>
$_("Google sign-in is temporarily unavailable, sorry for the inconvenience.")
</span>
</div>
</div>

<div class="ol-page-signup"">
<div id="contentHead" class="ol-signup-hero">
<h1 class="ol-signup-hero__title">$_("Sign Up")</h1>
Expand All @@ -31,7 +23,14 @@ <h1 class="ol-signup-hero__title">$_("Sign Up")</h1>
<div id="contentBody" class="ol-signup-form">

$if not ctx.user:
$:render_template("account/ia_thirdparty_logins")
<div class="flash-messages">
<div class="info ol-signup-form__info-box error">
<span>
$_("Google sign-in is temporarily unavailable, sorry for the inconvenience.")
</span>
</div>
</div>
$#:render_template("account/ia_thirdparty_logins")
<div class="ol-signup-form__big-or">$_('OR')</div>

$def field(input, suffix=''):
Expand Down

0 comments on commit 38a66cf

Please sign in to comment.