% if @deliveries %>
<% form_tag({:action => 'edit', :tab => 'notifications'}) do %>
<%= setting_text_field :mail_from, :size => 60 %>
<%= setting_check_box :bcc_recipients %>
<%= setting_check_box :plain_text_mail %>
<%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %>
<% javascript_tag do -%>
jQuery(document).ready(function () {
toggleEmailDecoratorFields();
});
<% end -%>
<%= link_to l(:label_send_test_email), :controller => 'admin', :action => 'test_email' %>
<%= submit_tag l(:button_save) %>
<% end %>
<% else %>
<%= simple_format(l(:text_email_delivery_not_configured)) %>
<% end %>