Skip to content

Commit

Permalink
Merge 33a1718 into ecf6d58
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanstitt committed Jan 9, 2017
2 parents ecf6d58 + 33a1718 commit 47af11d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/assets/stylesheets/signinup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@ body.sessions {
display: block;
margin: auto;
}

&.new {
.ox-card .form-group +
a:not(.footer).trouble {
display: block;
margin-top: 10px;
}
}
}
3 changes: 3 additions & 0 deletions app/views/sessions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<div class="card-body">
<%= fh.text_field name: :username_or_email,
label: '.email_placeholder', autofocus: true %>
<a class="trouble" target="_blank" href="http://openstax.force.com/support/articles/How_To/Can-t-log-in-to-your-OpenStax-account">
<%= t '.having_trouble' %> <i class="fa fa-external-link" aria-hidden="true"></i>
</a>
</div>

<section class="footer">
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ en:
cannot_find_user: Cannot find user
unknown_username: We don’t recognize this username. Please try again or use your email address instead.
unknown_email: We don’t recognize this email. Please try again.
having_trouble: Trouble logging in?
multiple_users:
# %{link} a hyperlink that sends usernames to the email being used for log in.
# The label is defined by the .click_here key.
Expand Down

0 comments on commit 47af11d

Please sign in to comment.