Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 67a0d4c

Browse files
ross211mssola
authored andcommitted
fix style inconsistencies on password reset pages
Signed-off-by: Ross Dougherty <[email protected]>
1 parent c2950a4 commit 67a0d4c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app/views/devise/passwords/edit.html.slim

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ section.row-0
1010
= f.password_field :password_confirmation, class: 'input form-control input-lg', placeholder: 'Password confirmation', autocomplete: "off", required: true
1111

1212
= f.button class: 'classbutton btn btn-primary btn-block btn-lg' do
13-
i.fa.fa-check Change my password
13+
i.fa.fa-check
14+
' Change my password
1415

15-
.text-center = link_to 'Go back to the login page', new_user_session_path
16+
.text-center = link_to 'Go back to the login page', new_user_session_path, class: 'btn btn-link'

app/views/devise/passwords/new.html.slim

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ section.row-0
77
= form_for(resource, as: resource_name, url: password_path(resource_name)) do |f|
88
= f.email_field :email, class: 'input form-control input-lg', placeholder: 'Email', autofocus: true, required: true
99
= f.button class: 'classbutton btn btn-primary btn-block btn-lg' do
10-
i.fa.fa-check Reset password
10+
i.fa.fa-check
11+
' Reset password
1112

1213
.text-center = link_to 'Go back to the login page', new_user_session_path, class: 'btn btn-link'

0 commit comments

Comments
 (0)