-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from MushroomObserver/ror4
Ror4
- Loading branch information
Showing
54 changed files
with
456 additions
and
226 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
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<% @title = :account_choose_password_title.t %> | ||
<% | ||
@title = :account_choose_password_title.t | ||
focus_on_password = @user.password.blank? | ||
%> | ||
|
||
<%= form_tag(:action=> "verify", :id => @user.id, :auth_code => @user.auth_code) do %> | ||
<label for="user_password"><%= :signup_choose_password.t %>:</label><br/> | ||
<%= password_field "user", "password", :size => 30, :value => @user.password %><br/><br/> | ||
<%= password_field(:user, :password, size: 30, value: @user.password, autofocus: focus_on_password) %><br/><br/> | ||
|
||
<label for="user_password_confirmation"><%= :signup_confirm_password.t %>:</label><br/> | ||
<%= password_field "user", "password_confirmation", :size => 30 %><br/><br/> | ||
<%= password_field(:user, :password_confirmation, size: 30, autofocus: !focus_on_password) %><br/><br/> | ||
|
||
<input type="submit" value="<%= :SUBMIT.l %>" class="primary" /> | ||
|
||
<% focus_on(@user.password.blank? ? 'user_password' : 'user_password_confirmation') %> | ||
<% end %> |
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 |
---|---|---|
@@ -1,11 +1,8 @@ | ||
<% @title = :email_new_password_title.t %> | ||
|
||
<%= form_tag(:action => "email_new_password") do %> | ||
|
||
<label for="new_user_login"><%= :login_user.t %>:</label><br/> | ||
<%= text_field "new_user", "login", :size => 30 %><br/><br/> | ||
<%= text_field(:new_user, :login, size: 30, autofocus: true) %><br/><br/> | ||
|
||
<input type="submit" value="<%= :SEND.l %>" class="primary" /> | ||
|
||
<% focus_on('new_user_login') %> | ||
<% end %> |
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
Oops, something went wrong.