mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
22 lines
991 B
Text
22 lines
991 B
Text
|
<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('projects.index.modal_edit_folder.title', folder: folder.name) %>
|
||
|
</h4>
|
||
|
</div>
|
||
|
<%= bootstrap_form_for folder, url: project_folder_path(folder ,format: :json), method: :put, remote: true do |f| %>
|
||
|
<div class="modal-body">
|
||
|
<p><%= t('projects.index.modal_edit_folder.description') %></p>
|
||
|
<div class="row">
|
||
|
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
|
||
|
<%= f.text_field :name, label: t('projects.index.modal_edit_folder.folder_name_field'), autofocus: true %>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div class="modal-footer">
|
||
|
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||
|
<button class="btn btn-primary" type="submit"><%=t "projects.index.modal_edit_folder.submit" %></button>
|
||
|
</div>
|
||
|
<% end %>
|