mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 05:34:53 +08:00
26 lines
1.4 KiB
Text
26 lines
1.4 KiB
Text
<div class="modal" id="new-project-folder-modal" tabindex="-1" role="dialog" aria-labelledby="new-project-folder-modal-label">
|
|
<%= bootstrap_form_for @project_folder, remote: true do |f| %>
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="<%= t('general.close') %>"><span aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title" id="new-project-folder-modal-label">
|
|
<%= t('projects.index.modal_new_project_folder.modal_title') %>
|
|
</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p><%= t('projects.index.modal_new_project_folder.description') %></p>
|
|
<div class="form-group sci-input-container">
|
|
<%= f.hidden_field :parent_folder_id %>
|
|
<%= f.hidden_field :archived %>
|
|
<%= f.text_field :name, label: t('projects.index.modal_new_project_folder.name'), placeholder: t('projects.index.modal_new_project_folder.name_placeholder') %>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%= t('general.cancel') %></button>
|
|
<%= f.submit t('projects.index.modal_new_project_folder.create'), class: 'btn btn-primary' %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
</div>
|