Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion app/views/devise/registrations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h2 class="heading">Register for GovHack <%= @competition.year %></h2>
<%= render 'components/registration_status', page: 'sign_up' %>
<div class="google-oath">
<%= link_to (render "devise/shared/google"), user_google_omniauth_authorize_path, method: :post %>
<%= link_to (render "devise/shared/google", locals: { google_label: 'Sign up with Google' }), user_google_omniauth_authorize_path, method: :post %>
<hr class="grey-border">
<p class="alt-text">or register below</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/sessions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section class="signup-form">
<h2 class="heading">Log in to Hackerspace</h2>
<div class="google-oath">
<%= link_to (render "devise/shared/google"), user_google_omniauth_authorize_path, method: :post %>
<%= link_to (render "devise/shared/google", locals: { google_label: 'Log in with Google'}), user_google_omniauth_authorize_path, method: :post %>
<hr class="grey-border">
<p class="alt-text"> or log in below</p>
</div>
Expand Down
3 changes: 1 addition & 2 deletions app/views/devise/shared/_google.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
</div>
</div>
<div class="message">
<p>Sign up with Google</p>
<p>Log in with Google</p>
<p><%= locals[:google_label] %></p>
</div>
</div>
</div>
Loading