Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing stale devise pages

  • Loading branch information...
commit a5fc26c6f9b824251a2959c43a49f6fd943b1c2f 1 parent 03dd0bb
@senior senior authored
View
12 app/views/devise/confirmations/new.html.erb
@@ -1,12 +0,0 @@
-<h2>Resend confirmation instructions</h2>
-
-<%= 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>
-
- <p><%= f.submit "Resend confirmation instructions" %></p>
-<% end %>
-
-<%= render :partial => "devise/shared/links" %>
View
5 app/views/devise/mailer/confirmation_instructions.html.erb
@@ -1,5 +0,0 @@
-<p>Welcome <%= @resource.email %>!</p>
-
-<p>You can confirm your account through the link below:</p>
-
-<p><%= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token) %></p>
View
8 app/views/devise/mailer/reset_password_instructions.html.erb
@@ -1,8 +0,0 @@
-<p>Hello <%= @resource.email %>!</p>
-
-<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
-
-<p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
-
-<p>If you didn't request this, please ignore this email.</p>
-<p>Your password won't change until you access the link above and create a new one.</p>
View
7 app/views/devise/mailer/unlock_instructions.html.erb
@@ -1,7 +0,0 @@
-<p>Hello <%= @resource.email %>!</p>
-
-<p>Your account has been locked due to an excessive amount of unsuccessful sign in attempts.</p>
-
-<p>Click the link below to unlock your account:</p>
-
-<p><%= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @resource.unlock_token) %></p>
View
22 app/views/devise/passwords/edit.html.erb
@@ -1,22 +0,0 @@
-<%= render '/shared/title', :title => t('.change_password') %>
-
-<div class="container_12">
- <%= devise_error_messages! %>
-
- <div class="grid_12 pad3">
- <div class="login whitebox">
-
- <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
- <%= f.hidden_field :reset_password_token %>
- <%= field_set_tag '' do %>
- <ul>
- <li><%= f.label :password, t('.new_password') %> <%= f.password_field :password %></li>
- <li><%= f.label :password_confirmation, t('.confirm_password') %> <%= f.password_field :password_confirmation %></li>
- <li><%= submit_tag t('.submit'), :class => 'submit' %></li>
- </ul>
- <% end -%>
- <% end %>
-
- </div>
- </div>
-</div>
View
18 app/views/devise/passwords/new.html.erb
@@ -1,18 +0,0 @@
-<%= render '/shared/title', :title => t('.forgot_password') %>
-
-<div class="container_12">
- <%= devise_error_messages! %>
- <div class="grid_12 pad3">
- <div class="login whitebox">
-
- <%= form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |f| %>
- <%= field_set_tag '' do %>
- <ul>
- <li><%= f.label :email, t('.email') %> <%= f.email_field :email %></li>
- <li><%= submit_tag t('.send_instructions'), :class => 'submit' %></li>
- </ul>
- <% end -%>
- <% end %>
- </div>
- </div>
-</div>
View
25 app/views/devise/registrations/edit.html.erb
@@ -1,25 +0,0 @@
-<h2>Edit <%= resource_name.to_s.humanize %></h2>
-
-<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
- <%= devise_error_messages! %>
-
- <p><%= f.label :email %><br />
- <%= f.email_field :email %></p>
-
- <p><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
- <%= f.password_field :password %></p>
-
- <p><%= f.label :password_confirmation %><br />
- <%= f.password_field :password_confirmation %></p>
-
- <p><%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
- <%= f.password_field :current_password %></p>
-
- <p><%= f.submit "Update" %></p>
-<% end %>
-
-<h3>Cancel my account</h3>
-
-<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete %>.</p>
-
-<%= link_to "Back", :back %>
View
28 app/views/devise/registrations/new.html.erb
@@ -1,28 +0,0 @@
-<%= render '/shared/title', :title => t('.registration') %>
-
-<div class="container_12">
- <%= render '/shared/flash', :flash => flash %>
- <div class="grid_12 pad3">
-<% attendee = Attendee.check_token params[:token] %>
- <% if attendee %>
- <div class="login whitebox">
-
- <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
- <%= field_set_tag '' do %>
- <%= hidden_field(:token, :text, :value => attendee.activation_token) %>
- <ul>
- <li><%= f.label :email, 'Email:' %><%= f.text_field :email, :value => "#{attendee.email}" %></li>
- <li><%= f.label :password, 'Password:'%><%= f.password_field :password %></li>
- <li><%= f.label :password_confirmation, 'Password Confirmation:' %><%= f.password_field :password_confirmation %></li>
- <li><%= submit_tag 'Register', :class => 'submit' %></li>
- </ul>
- <% end -%>
- <% end -%>
- <% else %>
- <p><%= raw t('.invalid_token') %></p>
- <% end %>
- <div class="clear"></div>
- </div>
-</div>
-
-
View
12 app/views/devise/unlocks/new.html.erb
@@ -1,12 +0,0 @@
-<h2>Resend unlock instructions</h2>
-
-<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
- <%= devise_error_messages! %>
-
- <p><%= f.label :email %><br />
- <%= f.email_field :email %></p>
-
- <p><%= f.submit "Resend unlock instructions" %></p>
-<% end %>
-
-<%= render :partial => "devise/shared/links" %>
Please sign in to comment.
Something went wrong with that request. Please try again.