From 5889d381ae35c0b131523b43ce90a9d04d566c21 Mon Sep 17 00:00:00 2001 From: binarylogic Date: Sat, 21 Mar 2009 02:44:45 -0400 Subject: [PATCH] Add email field to form --- app/views/users/_form.erb | 4 +++- config/environment.rb | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/users/_form.erb b/app/views/users/_form.erb index e01048c..2870006 100644 --- a/app/views/users/_form.erb +++ b/app/views/users/_form.erb @@ -6,4 +6,6 @@
<%= form.label :password_confirmation %>
<%= form.password_field :password_confirmation %>
-
\ No newline at end of file +
+<%= form.label :email %>
+<%= form.text_field :email %>
\ No newline at end of file diff --git a/config/environment.rb b/config/environment.rb index f576651..6c29090 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -31,8 +31,8 @@ # in vendor/plugins are loaded in alphabetical order. # :all can be used as a placeholder for all plugins not explicitly named # config.plugins = [ :exception_notification, :ssl_requirement, :all ] - #config.plugin_paths += ["#{RAILS_ROOT}/../../Libs"] - #config.plugins = [:authlogic] + config.plugin_paths += ["#{RAILS_ROOT}/../../Libs"] + config.plugins = [:authlogic] # Add additional load paths for your own custom dirs # config.load_paths += %W( #{RAILS_ROOT}/extras )