mail_options.rhtml
22 lines
| 786 B
| text/html+ruby
|
RhtmlLexer
|
r717 | <div class="contextual"> | ||
<%= link_to l(:label_send_test_email), :action => 'test_email' %> | ||||
</div> | ||||
|
r330 | <h2><%=l(:field_mail_notification)%></h2> | ||
|
r717 | <% form_tag({:action => 'mail_options'}, :id => 'mail-options-form') do %> | ||
<fieldset class="box"><legend><%=l(:text_select_mail_notifications)%></legend> | ||||
<% @notifiables.each do |notifiable| %> | ||||
|
r845 | <label><%= check_box_tag "notified_events[]", notifiable, Setting.notified_events.include?(notifiable) %> | ||
<%= notifiable.humanize %></label><br /> | ||||
|
r717 | <% end %> | ||
|
r845 | <p><%= check_all_links('mail-options-form') %></p> | ||
</fieldset> | ||||
|
r846 | <fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend> | ||
|
r845 | <%= text_area_tag 'emails_footer', Setting.emails_footer, :class => 'wiki-edit', :rows => 5 %> | ||
|
r717 | </fieldset> | ||
<%= submit_tag l(:button_save) %> | ||||
<% end %> | ||||