Skip to content

Commit

Permalink
tweak login page title and email label
Browse files Browse the repository at this point in the history
I went with "email (or handle)" for a while, but I'm now thinking
we should just stay simple and ask for email only.

The title of the page was a bit weird before, just saying "Log In".
I think it's better to say the name of the system instead, but I
could be convinced otherwise.
  • Loading branch information
srabraham committed Nov 7, 2024
1 parent aaab0ff commit 369cd49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ims/element/login/_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class LoginPage(Page):
Login page.
"""

name: str = "Log In"
name: str = "Ranger Incident Management System"
failed: bool = False

@renderer
Expand Down
4 changes: 2 additions & 2 deletions src/ims/element/login/template.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<button t:render="if_authz_failed" type="button" class="btn btn-block btn-danger">Authorization Failed for <code t:render="logged_in_user" /></button>

<p>
Please provide your Ranger Secret Clubhouse credentials.
Please log in with your Ranger Secret Clubhouse credentials.
</p>

<div class="form-group">
<label for="username_input" class="col-sm-2 control-label" title="Log in with either your Clubhouse email address or your case-sensitive Ranger handle">Email (or handle):</label>
<label for="username_input" class="col-sm-2 control-label" title="Log in with either your Clubhouse email address or your case-sensitive Ranger handle">Email:</label>
<div class="col-sm-3">
<input id="username_input" type="text" name="username" inputmode="latin-name" class="form-control" autocomplete="username" />
</div>
Expand Down

0 comments on commit 369cd49

Please sign in to comment.