<% #rather than yaml arrays of the drop downs export_to = ["destination_db","s3","both"] export_type = ["incremental","fulldump"] %> <%= form_for(@export) do |f| %> <% if @export.errors.any? %>

<%= pluralize(@export.errors.count, "error") %> prohibited this export from being saved:

<% end %>
<%= f.select :source_schema, @dbs %> <%= f.select :destination_schema, @dbs %> <%= f.select :table_name, [] %> <%= f.text_field :incremental_column %> <%= f.text_field :incremental_column_type %> <%= f.text_field :max_incremental_value %> <%= f.text_field :s3_path %>
<%= f.hidden_field :cron %>
minutes:
hours:
days:
months:
weekday:
<%= f.submit %> <%= link_to content_tag(:span, 'cancel'), exports_path, :class => "btn left action cancel" %>
<% end %> <%= javascript_include_tag "myreplicator/chosen.jquery.min" %> <%= javascript_include_tag "myreplicator/cronwtf.min" %>