This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Patrick Stoica
committed
Apr 21, 2014
1 parent
d98e7a4
commit ff18e78
Showing
4 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,16 +8,21 @@ h1.page-header Help! | |
|
||
.row | ||
.col-sm-6 | ||
.row | ||
.col-sm-4 | ||
.alert.alert-info | ||
p Need to reset your password? Just type in your username and we'll send you instructions. | ||
.col-sm-8 | ||
= simple_form_for(@user, url: reset_password_users_path, html: { class: 'form-horizontal' }, defaults: defaults) do |f| | ||
= f.input :username, autofocus: true, placeholder: 'Username', input_html: { class: 'form-control' } | ||
.form-group | ||
.col-sm-8.col-sm-offset-4 | ||
= f.button :submit, "Reset my password", class: 'btn-primary' | ||
- if Settings.profiles_enabled? | ||
.row | ||
.col-sm-4 | ||
.alert.alert-info | ||
p Need to reset your password? Just type in your username and we'll send you instructions. | ||
.col-sm-8 | ||
= simple_form_for(@user, url: reset_password_users_path, html: { class: 'form-horizontal' }, defaults: defaults) do |f| | ||
= f.input :username, autofocus: true, placeholder: 'Username', input_html: { class: 'form-control' } | ||
.form-group | ||
.col-sm-8.col-sm-offset-4 | ||
= f.button :submit, "Reset my password", class: 'btn-primary' | ||
|
||
.lead | ||
markdown: | ||
If you're still having problems, please contact [[email protected]](mailto:[email protected]). | ||
|
||
.col-sm-6 | ||
.row | ||
|
@@ -30,8 +35,4 @@ h1.page-header Help! | |
= f.input :current_password, placeholder: 'Password', required: true, input_html: { class: 'form-control' } | ||
.form-group | ||
.col-sm-8.col-sm-offset-4 | ||
= f.button :submit, "Fix stuff!", class: 'btn-primary' | ||
|
||
.lead | ||
markdown: | ||
If you're still having problems, please contact [[email protected]](mailto:[email protected]). | ||
= f.button :submit, "Fix stuff!", class: 'btn-primary' |