1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Move simple_form_for directories to a new location.

This commit is contained in:
José Valim 2011-06-30 15:09:54 -03:00
parent 33d7644b4f
commit 1fd4beb18a
8 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ module Devise
class SimpleFormForGenerator < Rails::Generators::Base #:nodoc:
include ViewPathTemplates
source_root File.expand_path("../simple_form_for", __FILE__)
source_root File.expand_path("../../templates/simple_form_for", __FILE__)
desc "Copies simple form enabled views to your application."
end

View file

@ -4,7 +4,7 @@
<%= f.error_notification %>
<div class="inputs">
<%= f.input :email %>
<%= f.input :email, :required => true %>
</div>
<div class="actions">

View file

@ -7,7 +7,7 @@
<%= f.full_error :reset_password_token %>
<div class="inputs">
<%= f.input :password, :label => "New password" %>
<%= f.input :password, :label => "New password", :required => true %>
<%= f.input :password_confirmation, :label => "Confirm your new password", :required => true %>
</div>

View file

@ -4,7 +4,7 @@
<%= f.error_notification %>
<div class="inputs">
<%= f.input :email %>
<%= f.input :email, :required => true %>
</div>
<div class="actions">

View file

@ -4,7 +4,7 @@
<%= f.error_notification %>
<div class="inputs">
<%= f.input :email %>
<%= f.input :email, :required => true %>
</div>
<div class="actions">