<%= link_to l(:label_send_test_email), :action => 'test_email' %>

<%=l(:field_mail_notification)%>

<% form_tag({:action => 'mail_options'}, :id => 'mail-options-form') do %>
<%=l(:label_settings)%>

<%= text_field_tag 'settings[mail_from]', Setting.mail_from, :size => 60 %>

<%= check_box_tag 'settings[bcc_recipients]', 1, Setting.bcc_recipients? %> <%= hidden_field_tag 'settings[bcc_recipients]', 0 %>

<%=l(:text_select_mail_notifications)%> <% @notifiables.each do |notifiable| %>
<% end %>

<%= check_all_links('mail-options-form') %>

<%= l(:setting_emails_footer) %> <%= text_area_tag 'settings[emails_footer]', Setting.emails_footer, :class => 'wiki-edit', :rows => 5 %>
<%= submit_tag l(:button_save) %> <% end %> <% set_html_title(l(:field_mail_notification)) -%>