forked from fulcrum-agile/fulcrum
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
Kale Worsley
committed
Nov 20, 2011
1 parent
7968294
commit 23a8a0e
Showing
10 changed files
with
258 additions
and
117 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
<% content_for :title_bar do %> | ||
<h1>Resend confirmation instructions</h1> | ||
<% end %> | ||
<div class="form-wrapper"> | ||
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %> | ||
<%= devise_error_messages! %> | ||
|
||
<p><%= f.label :email %><br /> | ||
<%= f.email_field :email %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :email %> | ||
<div class="field"><%= f.email_field :email %></div> | ||
</div> | ||
|
||
<p><%= f.submit "Resend confirmation instructions" %></p> | ||
<div class="actions"><%= f.submit "Resend confirmation instructions" %></div> | ||
<% end %> | ||
<%= render :partial => "devise/shared/links" %> | ||
</div> |
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,18 +1,23 @@ | ||
<% content_for :title_bar do %> | ||
<h1>Change your password</h1> | ||
<% end %> | ||
<div class="form-wrapper"> | ||
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %> | ||
<%= devise_error_messages! %> | ||
<%= f.hidden_field :reset_password_token %> | ||
|
||
<p><%= f.label :password, "New password" %><br /> | ||
<%= f.password_field :password %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :password, "New password" %> | ||
<div class="field"><%= f.password_field :password %></div> | ||
</div> | ||
|
||
<p><%= f.label :password_confirmation, "Confirm new password" %><br /> | ||
<%= f.password_field :password_confirmation %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :password_confirmation, "Confirm new password" %> | ||
<div class="field"><%= f.password_field :password_confirmation %></div> | ||
</div> | ||
|
||
<p><%= f.submit "Change my password" %></p> | ||
<div class="actions"><%= f.submit "Change my password" %></div> | ||
<% end %> | ||
<%= render :partial => "devise/shared/links" %> | ||
</div> |
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,14 +1,17 @@ | ||
<% content_for :title_bar do %> | ||
<h1>Forgot your password?</h1> | ||
<% end %> | ||
<div class="form-wrapper"> | ||
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %> | ||
<%= devise_error_messages! %> | ||
|
||
<p><%= f.label :email %><br /> | ||
<%= f.email_field :email %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :email %> | ||
<div class="field"><%= f.email_field :email %></div> | ||
</div> | ||
|
||
<p><%= f.submit "Send me reset password instructions" %></p> | ||
<div class="actions"><%= f.submit "Send me reset password instructions" %></div> | ||
<% end %> | ||
<%= render :partial => "devise/shared/links" %> | ||
</div> |
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,49 +1,60 @@ | ||
<% content_for :title_bar do %> | ||
<h1>Edit <%= resource_name.to_s.humanize %></h1> | ||
<% end %> | ||
<div class="form-wrapper"> | ||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %> | ||
<%= devise_error_messages! %> | ||
|
||
<p><%= f.label :name %><br /> | ||
<%= f.text_field :name %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :name %> | ||
<div class="field"><%= f.text_field :name %></div> | ||
</div> | ||
|
||
<p><%= f.label :initials %><br /> | ||
<%= f.text_field :initials %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :initials %> | ||
<div class="field"><%= f.text_field :initials %></div> | ||
</div> | ||
|
||
<p><%= f.label :email %><br /> | ||
<%= f.email_field :email %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :email %> | ||
<div class="field"><%= f.email_field :email %></div> | ||
</div> | ||
|
||
<p><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br /> | ||
<%= f.password_field :password %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :password %> | ||
<div class="field"><%= f.password_field :password %></div> | ||
<div class="help">Leave blank if you don't want to change it</div> | ||
</div> | ||
|
||
<p><%= f.label :password_confirmation %><br /> | ||
<%= f.password_field :password_confirmation %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :password_confirmation %> | ||
<div class="field"><%= f.password_field :password_confirmation %></div> | ||
</div> | ||
|
||
<h3>Notify me when my stories are:</h3> | ||
<p> | ||
<div class="field"> | ||
<%= f.check_box :email_delivery %> | ||
<%= f.label :email_delivery, 'delivered' %> | ||
</p> | ||
</div> | ||
|
||
<p> | ||
<div class="field"> | ||
<%= f.check_box :email_acceptance %> | ||
<%= f.label :email_acceptance, 'accepted' %> | ||
</p> | ||
</div> | ||
|
||
<p> | ||
<div class="field"> | ||
<%= f.check_box :email_rejection %> | ||
<%= f.label :email_rejection, 'rejected' %> | ||
</p> | ||
</div> | ||
|
||
<p><%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br /> | ||
<%= f.password_field :current_password %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :current_password %> | ||
<div class="field"><%= f.password_field :current_password %></div> | ||
<div class="help">We need your current password to confirm your changes.</div> | ||
</div> | ||
|
||
<p><%= f.submit "Update" %></p> | ||
<div class="actions"><%= f.submit "Update" %></div> | ||
<% end %> | ||
|
||
<h3>Cancel my account</h3> | ||
|
||
<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete %>.</p> | ||
<div class="secondary-actions"><%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete %></div> | ||
|
||
<%= link_to "Back", :back %> |
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,20 +1,27 @@ | ||
<% content_for :title_bar do %> | ||
<h1>Sign up</h1> | ||
<% end %> | ||
<div class="form-wrapper"> | ||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> | ||
<%= devise_error_messages! %> | ||
|
||
<p><%= f.label :name %><br /> | ||
<%= f.text_field :name %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :name %> | ||
<div class="field"><%= f.text_field :name %></div> | ||
</div> | ||
|
||
<p><%= f.label :initials %><br /> | ||
<%= f.text_field :initials %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :initials %> | ||
<div class="field"><%= f.text_field :initials %></div> | ||
</div> | ||
|
||
<p><%= f.label :email %><br /> | ||
<%= f.email_field :email %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :email %> | ||
<div class="field"><%= f.email_field :email %></div> | ||
</div> | ||
|
||
<p><%= f.submit "Sign up" %></p> | ||
<div class="actions"><%= f.submit "Sign up" %></div> | ||
<% end %> | ||
<%= render :partial => "devise/shared/links" %> | ||
</div> |
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,19 +1,24 @@ | ||
<% content_for :title_bar do %> | ||
<h1>Sign in</h1> | ||
<% end %> | ||
<div class="form-wrapper"> | ||
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> | ||
<p><%= f.label :email %><br /> | ||
<%= f.email_field :email %></p> | ||
<div class="field-wrapper"> | ||
<%= f.label :email %> | ||
<div class="field"><%= f.email_field :email %></div> | ||
</div> | ||
|
||
<div class="field-wrapper"> | ||
<%= f.label :password %> | ||
<div class="field"><%= f.password_field :password %></div> | ||
</div> | ||
|
||
<p><%= f.label :password %><br /> | ||
<%= f.password_field :password %></p> | ||
|
||
<% if devise_mapping.rememberable? -%> | ||
<p><%= f.check_box :remember_me %> <%= f.label :remember_me %></p> | ||
<div class="field"><%= f.check_box :remember_me %> <%= f.label :remember_me %></div> | ||
<% end -%> | ||
|
||
<p><%= f.submit "Sign in" %></p> | ||
<div class="actions"><%= f.submit "Sign in" %></div> | ||
<% end %> | ||
<%= render :partial => "devise/shared/links" %> | ||
</div> |
Oops, something went wrong.