%= form_for(@email_template, :url => {:action => @email_template.persisted? ? :update : :create, :id => @email_template.id}) do |f| %>
<%= error_messages_for :email_template if @email_template.errors.any? %>
<%= _('The following parameters may be used in subject and body:') %>
<%= @template_params_allowed %>
<%= render :file => 'shared/tiny_mce' %>
<%= labelled_form_field(_('Body:'), f.text_area(:body, :class => 'mceEditor')) %>
<%= submit_button(:save, _('Save')) %>
<%= button(:back, _('Back'), :action => :index) %>
<% end %>