Sha256: 25520ac2b9aae76fe305d4a8574430be87eb34b104064cce92f92a2122d1b667

Contents?: true

Size: 736 Bytes

Versions: 7

Compression:

Stored size: 736 Bytes

Contents

<%= javascript_include_tag "active_admin_csv_import/import_csv" %>

<%= render partial: 'admin/csv/instructions' %>

<input id="csv-file-input" type="file">

<div id="csv-import-progress"></div>
<div id="csv-import-errors"></div>

<script type="text/javascript">
  var import_csv_columns = <%= @columns.to_json.html_safe %>;
  var import_csv_required_columns = <%= @required_columns.to_json.html_safe %>;
  var import_csv_path = <%= @post_path.to_json.html_safe %>;
  var import_csv_resource_name = <%= active_admin_config.resource_name.to_s.underscore.to_json.html_safe %>;
  var redirect_path = <%= @redirect_path.to_json.html_safe %>;
  var import_csv_delimiter = <%= @delimiter ? @delimiter.to_json.html_safe : "null" %>;
</script>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_admin_csv_import-2.0.0 app/views/admin/csv/import_csv.html.erb
active_admin_csv_import-1.3.1 app/views/admin/csv/import_csv.html.erb
active_admin_csv_import-1.3.0 app/views/admin/csv/import_csv.html.erb
active_admin_csv_import-1.2.1 app/views/admin/csv/import_csv.html.erb
active_admin_csv_import-1.2.0 app/views/admin/csv/import_csv.html.erb
active_admin_csv_import-1.1.2 app/views/admin/csv/import_csv.html.erb
active_admin_csv_import-1.1.1 app/views/admin/csv/import_csv.html.erb