mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
20 lines
1 KiB
Text
20 lines
1 KiB
Text
<div class="modal fade" id="modal-import-samples" tabindex="-1" role="dialog" aria-labelledby="modal-import-samples-label">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title"><%= t("samples.modal_import.title") %></h4>
|
|
<%= t("samples.modal_import.notice") %>
|
|
</div>
|
|
<%= bootstrap_form_tag url: parse_sheet_organization_path(@organization, format: :json), html: {"data-type" => "json", id: "form-samples-file"}, remote: :true do |f| %>
|
|
<div class="modal-body">
|
|
<%= f.file_field :file %>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
|
<input type="submit" class="btn btn-primary" value="<%= t("samples.modal_import.upload") %>"</input>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|