Skip to content

Commit

Permalink
Move simple_form_for directories to a new location.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jun 30, 2011
1 parent 33d7644 commit 1fd4beb
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/generators/devise/views_generator.rb
Expand Up @@ -52,7 +52,7 @@ class FormForGenerator < Rails::Generators::Base #:nodoc:

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

Expand Down
Expand Up @@ -4,7 +4,7 @@
<%= f.error_notification %>

<div class="inputs">
<%= f.input :email %>
<%= f.input :email, :required => true %>
</div>

<div class="actions">
Expand Down
Expand Up @@ -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>

Expand Down
Expand Up @@ -4,7 +4,7 @@
<%= f.error_notification %>

<div class="inputs">
<%= f.input :email %>
<%= f.input :email, :required => true %>
</div>

<div class="actions">
Expand Down
Expand Up @@ -4,7 +4,7 @@
<%= f.error_notification %>

<div class="inputs">
<%= f.input :email %>
<%= f.input :email, :required => true %>
</div>

<div class="actions">
Expand Down

0 comments on commit 1fd4beb

Please sign in to comment.