mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
div instead of p in forms
This commit is contained in:
parent
e9c766277d
commit
502dae3c1f
7 changed files with 36 additions and 36 deletions
|
@ -3,10 +3,10 @@
|
||||||
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
|
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
|
||||||
<%= devise_error_messages! %>
|
<%= devise_error_messages! %>
|
||||||
|
|
||||||
<p><%= f.label :email %><br />
|
<div><%= f.label :email %><br />
|
||||||
<%= f.email_field :email %></p>
|
<%= f.email_field :email %></div>
|
||||||
|
|
||||||
<p><%= f.submit "Resend confirmation instructions" %></p>
|
<div><%= f.submit "Resend confirmation instructions" %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render :partial => "devise/shared/links" %>
|
<%= render :partial => "devise/shared/links" %>
|
|
@ -4,13 +4,13 @@
|
||||||
<%= devise_error_messages! %>
|
<%= devise_error_messages! %>
|
||||||
<%= f.hidden_field :reset_password_token %>
|
<%= f.hidden_field :reset_password_token %>
|
||||||
|
|
||||||
<p><%= f.label :password, "New password" %><br />
|
<div><%= f.label :password, "New password" %><br />
|
||||||
<%= f.password_field :password %></p>
|
<%= f.password_field :password %></div>
|
||||||
|
|
||||||
<p><%= f.label :password_confirmation, "Confirm new password" %><br />
|
<div><%= f.label :password_confirmation, "Confirm new password" %><br />
|
||||||
<%= f.password_field :password_confirmation %></p>
|
<%= f.password_field :password_confirmation %></div>
|
||||||
|
|
||||||
<p><%= f.submit "Change my password" %></p>
|
<div><%= f.submit "Change my password" %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render :partial => "devise/shared/links" %>
|
<%= render :partial => "devise/shared/links" %>
|
|
@ -3,10 +3,10 @@
|
||||||
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
|
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
|
||||||
<%= devise_error_messages! %>
|
<%= devise_error_messages! %>
|
||||||
|
|
||||||
<p><%= f.label :email %><br />
|
<div><%= f.label :email %><br />
|
||||||
<%= f.email_field :email %></p>
|
<%= f.email_field :email %></div>
|
||||||
|
|
||||||
<p><%= f.submit "Send me reset password instructions" %></p>
|
<div><%= f.submit "Send me reset password instructions" %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render :partial => "devise/shared/links" %>
|
<%= render :partial => "devise/shared/links" %>
|
|
@ -3,19 +3,19 @@
|
||||||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
|
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
|
||||||
<%= devise_error_messages! %>
|
<%= devise_error_messages! %>
|
||||||
|
|
||||||
<p><%= f.label :email %><br />
|
<div><%= f.label :email %><br />
|
||||||
<%= f.email_field :email %></p>
|
<%= f.email_field :email %></div>
|
||||||
|
|
||||||
<p><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
|
<div><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
|
||||||
<%= f.password_field :password %></p>
|
<%= f.password_field :password %></div>
|
||||||
|
|
||||||
<p><%= f.label :password_confirmation %><br />
|
<div><%= f.label :password_confirmation %><br />
|
||||||
<%= f.password_field :password_confirmation %></p>
|
<%= f.password_field :password_confirmation %></div>
|
||||||
|
|
||||||
<p><%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
|
<div><%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
|
||||||
<%= f.password_field :current_password %></p>
|
<%= f.password_field :current_password %></div>
|
||||||
|
|
||||||
<p><%= f.submit "Update" %></p>
|
<div><%= f.submit "Update" %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<h3>Cancel my account</h3>
|
<h3>Cancel my account</h3>
|
||||||
|
|
|
@ -3,16 +3,16 @@
|
||||||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
|
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
|
||||||
<%= devise_error_messages! %>
|
<%= devise_error_messages! %>
|
||||||
|
|
||||||
<p><%= f.label :email %><br />
|
<div><%= f.label :email %><br />
|
||||||
<%= f.email_field :email %></p>
|
<%= f.email_field :email %></div>
|
||||||
|
|
||||||
<p><%= f.label :password %><br />
|
<div><%= f.label :password %><br />
|
||||||
<%= f.password_field :password %></p>
|
<%= f.password_field :password %></div>
|
||||||
|
|
||||||
<p><%= f.label :password_confirmation %><br />
|
<div><%= f.label :password_confirmation %><br />
|
||||||
<%= f.password_field :password_confirmation %></p>
|
<%= f.password_field :password_confirmation %></div>
|
||||||
|
|
||||||
<p><%= f.submit "Sign up" %></p>
|
<div><%= f.submit "Sign up" %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render :partial => "devise/shared/links" %>
|
<%= render :partial => "devise/shared/links" %>
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
<h2>Sign in</h2>
|
<h2>Sign in</h2>
|
||||||
|
|
||||||
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
|
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
|
||||||
<p><%= f.label :email %><br />
|
<div><%= f.label :email %><br />
|
||||||
<%= f.email_field :email %></p>
|
<%= f.email_field :email %></div>
|
||||||
|
|
||||||
<p><%= f.label :password %><br />
|
<div><%= f.label :password %><br />
|
||||||
<%= f.password_field :password %></p>
|
<%= f.password_field :password %></div>
|
||||||
|
|
||||||
<% if devise_mapping.rememberable? -%>
|
<% if devise_mapping.rememberable? -%>
|
||||||
<p><%= f.check_box :remember_me %> <%= f.label :remember_me %></p>
|
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<p><%= f.submit "Sign in" %></p>
|
<div><%= f.submit "Sign in" %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render :partial => "devise/shared/links" %>
|
<%= render :partial => "devise/shared/links" %>
|
|
@ -3,10 +3,10 @@
|
||||||
<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
|
<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
|
||||||
<%= devise_error_messages! %>
|
<%= devise_error_messages! %>
|
||||||
|
|
||||||
<p><%= f.label :email %><br />
|
<div><%= f.label :email %><br />
|
||||||
<%= f.email_field :email %></p>
|
<%= f.email_field :email %></div>
|
||||||
|
|
||||||
<p><%= f.submit "Resend unlock instructions" %></p>
|
<div><%= f.submit "Resend unlock instructions" %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render :partial => "devise/shared/links" %>
|
<%= render :partial => "devise/shared/links" %>
|
Loading…
Reference in a new issue