= semantic_form_for([:admin, resource], :html => {:multipart => true}, :url => resource.new_record? ? admin_recurly_transaction_web_hooks_path : "#{ENV['RAILS_RELATIVE_URL_ROOT']}/admin/recurly_hooks/#{resource.id}") do |f|
  = f.semantic_errors *f.object.errors.keys
  = f.inputs name: 'Recurly Web Hook fields' do
    = f.input :admin_description, :input_html => { :rows=>1, :maxlength=>200,  }, hint: "this will display on the user's payment history page"
    = f.input :jam_track, collection: JamRuby::JamTrack.all, include_blank: true, hint: "Please indicate which JamTrack this refund for, if not set"
    = f.actions