diff options
Diffstat (limited to 'app/views/admin/mail_options.rhtml')
-rw-r--r-- | app/views/admin/mail_options.rhtml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/app/views/admin/mail_options.rhtml b/app/views/admin/mail_options.rhtml index 590c75b3d..8fd5de7e1 100644 --- a/app/views/admin/mail_options.rhtml +++ b/app/views/admin/mail_options.rhtml @@ -1,25 +1,25 @@ -<h2><%=l(:field_mail_notification)%></h2>
-
-<% form_tag ({:action => 'mail_options'}, :id => 'mail_options_form') do %>
-
-<div class="box">
-<p><%=l(:text_select_mail_notifications)%></p>
-
-<% actions = @actions.group_by {|p| p.group_id } %>
-<% actions.keys.sort.each do |group_id| %>
-<fieldset style="margin-top: 6px;"><legend><strong><%= l(Permission::GROUPS[group_id]) %></strong></legend>
-<% actions[group_id].each do |p| %>
- <div style="width:170px;float:left;"><%= check_box_tag "action_ids[]", p.id, p.mail_enabled? %>
- <%= l(p.description.to_sym) %>
- </div>
-<% end %>
-<div class="clear"></div>
-</fieldset>
-<% end %>
-
-<br />
-<p><%= check_all_links 'mail_options_form' %></p>
-</div>
-
-<%= submit_tag l(:button_save) %>
-<% end %>
+<h2><%=l(:field_mail_notification)%></h2> + +<% form_tag ({:action => 'mail_options'}, :id => 'mail_options_form') do %> + +<div class="box"> +<p><%=l(:text_select_mail_notifications)%></p> + +<% actions = @actions.group_by {|p| p.group_id } %> +<% actions.keys.sort.each do |group_id| %> +<fieldset style="margin-top: 6px;"><legend><strong><%= l(Permission::GROUPS[group_id]) %></strong></legend> +<% actions[group_id].each do |p| %> + <div style="width:170px;float:left;"><%= check_box_tag "action_ids[]", p.id, p.mail_enabled? %> + <%= l(p.description.to_sym) %> + </div> +<% end %> +<div class="clear"></div> +</fieldset> +<% end %> + +<br /> +<p><%= check_all_links 'mail_options_form' %></p> +</div> + +<%= submit_tag l(:button_save) %> +<% end %> |