update authentication system to Devise
This commit is contained in:
13
app/views/devise/confirmations/new.html.erb
Normal file
13
app/views/devise/confirmations/new.html.erb
Normal file
@ -0,0 +1,13 @@
|
||||
<h2>Resend confirmation instructions</h2>
|
||||
|
||||
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
|
||||
<%= devise_error_messages! %>
|
||||
|
||||
<div><%= f.label :login %><br>
|
||||
<%= f.text_field :login, :autofocus => true %></div>
|
||||
|
||||
<div><%= f.submit "Resend confirmation instructions" %></div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
|
Reference in New Issue
Block a user