summaryrefslogtreecommitdiffstats
path: root/app/views/settings/_users.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings/_users.html.erb')
-rw-r--r--app/views/settings/_users.html.erb20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/settings/_users.html.erb b/app/views/settings/_users.html.erb
new file mode 100644
index 000000000..ab61d7c21
--- /dev/null
+++ b/app/views/settings/_users.html.erb
@@ -0,0 +1,20 @@
+<%= form_tag({:action => 'edit', :tab => 'users'}) do %>
+
+ <div class="box tabular settings">
+ <p><%= setting_text_field :max_additional_emails, :size => 6 %></p>
+
+ <p><%= setting_check_box :unsubscribe %></p>
+ </div>
+
+ <fieldset class="box tabular settings">
+ <legend><%= l(:label_default_values_for_new_users) %></legend>
+
+ <p><%= setting_check_box :default_users_hide_mail, :label => :field_hide_mail %></p>
+
+ <p><%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %></p>
+
+ <p><%= setting_select :default_users_time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :label => :field_time_zone, :blank => :label_none %></p>
+ </fieldset>
+
+ <%= submit_tag l(:button_save) %>
+<% end %>