diff --git a/app/views/profile/send_mail.html.erb b/app/views/profile/send_mail.html.erb index ce93620..86847e9 100644 --- a/app/views/profile/send_mail.html.erb +++ b/app/views/profile/send_mail.html.erb @@ -9,8 +9,8 @@
<% if @email_templates.present? %> <%= labelled_form_field(_('Select a template:'), select_tag(:template, options_from_collection_for_select(@email_templates, :id, :name), :include_blank => true, 'data-url' => url_for(:controller => 'email_templates', :action => 'show_parsed'))) %> -
-<% end %> + <% end %> + <%= form_for :mailing, :url => {:action => 'send_mail'}, :html => {:id => 'mailing-form'} do |f| %> -- libgit2 0.21.2