This commit is contained in:
albert
2011-11-11 18:32:43 -05:00
parent 995476b52a
commit dd3996fd64
4 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
<%= simple_form_for @user do |f| %>
<fieldset>
<%= f.input :email, :required => Danbooru.config.enable_email_verification?, :hint => "Your email address (used for messages and for password resets)" %>
<%= f.input :email, :required => Danbooru.config.enable_email_verification?, :hint => "Your email address (used for messages and for password resets)", :as => :email %>
<%= f.input :time_zone, :hint => "Your local time zone" %>
<%= f.input :receive_email_notifications, :hint => "Enable to receive email notification when you receive a DMail" %>
<%= f.input :comment_threshold, :hint => "Comments below this score will be hidden by default" %>

View File

@@ -65,10 +65,10 @@
<div id="p3">
<%= simple_form_for(@user) do |f| %>
<%= f.input :name %>
<%= f.input :name, :as => :string %>
<%= f.input :password %>
<%= f.input :password_confirmation %>
<%= f.input :email, :required => false %>
<%= f.input :email, :required => false, :as => :email %>
<%= f.input :level, :collection => User.level_hash.to_a, :include_blank => false %>
<%= f.button :submit %>
<% end %>