reset pwd
This commit is contained in:
parent
5d879a0643
commit
0dc5364aec
2 changed files with 10 additions and 17 deletions
|
@ -1,15 +1,8 @@
|
||||||
<h2>Forgot your password?</h2>
|
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :class => "login-box", :method => :post }) do |f| %>
|
||||||
|
<%= image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo" %>
|
||||||
<div class="span-12 colborder">
|
|
||||||
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
|
|
||||||
<%= devise_error_messages! %>
|
<%= devise_error_messages! %>
|
||||||
|
<%= f.email_field :email, :placeholder => "Email", :class => "text top" %>
|
||||||
<div><%= f.label :email %><br />
|
<br/>
|
||||||
<%= f.email_field :email %></div>
|
<%= f.submit "Reset password", :class => "grey-button" %>
|
||||||
|
<div class="right"> <%= render :partial => "devise/shared/links" %></div>
|
||||||
<div><%= f.submit "Send me reset password instructions", :class => "lbutton vm" %></div>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<%= render :partial => "devise/shared/links" %>
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login-box" }) do |f| %>
|
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login-box" }) do |f| %>
|
||||||
<%= image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo" %>
|
<%= image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo" %>
|
||||||
<%= f.text_field :email, :class => "text top" %>
|
<%= f.text_field :email, :class => "text top", :placeholder => "Email" %>
|
||||||
<%= f.password_field :password, :class => "text bottom" %>
|
<%= f.password_field :password, :class => "text bottom", :placeholder => "Password" %>
|
||||||
|
|
||||||
<% if devise_mapping.rememberable? -%>
|
<% if devise_mapping.rememberable? -%>
|
||||||
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
|
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
|
||||||
|
|
Loading…
Reference in a new issue