blob: 1a81cdf8c82ce04ef0fc2ba82d0afa90766fe244 [file] [log] [blame]
.box.box-primary
.box-header.with-border
h3.box-title New Databundle
= form_for @data_bundle, multipart: true, html: {role: 'form'} do |f|
.box-body
.form-group
label for="data_bundle_name" DataBundle name
= f.text_field :name, class: 'form-control'
.form-group
label for="data_bundle_file" File input
= f.file_field :file
/= f.remote_file_url
.box-footer
= f.submit 'Save', id: 'save_data_bundle', class: 'btn btn-primary'