<%= semantic_form_for([:admin, resource], :url => resource.new_record? ? admin_batch_emails_path : "#{Gon.global.prefix}/admin/batch_emails/#{resource.id}") do |f| %>
  <%= f.inputs do %>
    <%= f.input(:from_email, :label => "From Email", :input_html => {:maxlength => 64}, :hint => 'JamKazam <noreply@jamkazam.com>') %>
    <%= f.input(:subject, :label => "Subject", :input_html => {:maxlength => 128}) %>
    <%= f.input(:test_emails, :label => "Test Emails", :input_html => {:maxlength => 1024, :size => '3x3'}) %>
    <%= f.input(:body, :label => "Body", :input_html => {:maxlength => 60000, :size => '10x20'}) %>
  <% end %>
  <%= f.actions %>
<% end %>
