% if agent.is_form_configurable? %>
  
<% else %>
  
    <%= label_tag :options %>
    
    
  
<% end %>
  <%= submit_tag "Save", :class => "btn btn-primary" %>
  <% if agent.can_dry_run? %>
    <%= button_tag class: 'btn btn-default agent-dry-run-button', type: 'button', 'data-action-url' => agent.persisted? ? agent_dry_runs_path(agent) : dry_runs_path(type: agent.type), 'data-with-event-mode' => agent_dry_run_with_event_mode(agent) do %><%= icon_tag('glyphicon-refresh') %> Dry Run<% end %>
  <% end %>