forked from mattistrading/baseapp
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
Showing
4 changed files
with
67 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Hello, | ||
|
||
Your base_app account login is: | ||
|
||
<%= @user.login %> | ||
|
||
You may login by visiting the following link: | ||
|
||
<%= @url %> | ||
|
||
Best regards, | ||
|
||
The base_app Team |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<% content_for :header do -%> | ||
Login Recovery | ||
<% end -%> | ||
<% unless @user.nil? %> | ||
<p>An email containing your base_app account's login has been dispatched to you at <em><%= @user.email %></em>.</p> | ||
|
||
<div id="submitbutton"> | ||
<p><%= link_to "Login now »", login_url %></p> | ||
</div> | ||
<% else %> | ||
<p>Please enter the email address associated with your account. We will send you an email with your login shortly.</p> | ||
|
||
<% form_tag user_forgot_login_url, :method => :put do %> | ||
<p><label>Your email address</label><br /> | ||
<%= text_field_tag :email %></p> | ||
|
||
<div id="submitbutton"> | ||
<p><%= submit_tag 'Send me my login »' %></p> | ||
</div> | ||
<% end %> | ||
<% end %> |