Improve devise views
This commit is contained in:
parent
210e9cd489
commit
66121d6caa
4 changed files with 20 additions and 21 deletions
|
@ -1,9 +1,9 @@
|
|||
<%= 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" %>
|
||||
<%= 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" %>
|
||||
<%= devise_error_messages! %>
|
||||
<%= f.email_field :email, :placeholder => "Email", :class => "text" %>
|
||||
<%= f.email_field :email, placeholder: "Email", class: "text" %>
|
||||
<br/>
|
||||
<br/>
|
||||
<%= f.submit "Reset password", :class => "btn-primary btn" %>
|
||||
<div class="right"> <%= link_to "Sign in", new_session_path(resource_name), :class => "btn" %><br /></div>
|
||||
<%= f.submit "Reset password", class: "btn-primary btn" %>
|
||||
<div class="pull-right"> <%= link_to "Sign in", new_session_path(resource_name), class: "btn" %><br /></div>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue