2020-12-14 22:54:18 +08:00
|
|
|
<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>
|
2023-07-03 17:11:51 +08:00
|
|
|
<%= form_with model: folder, url: project_folder_path(folder ,format: :json), method: :put, remote: true do |f| %>
|
2020-12-14 22:54:18 +08:00
|
|
|
<div class="modal-body">
|
|
|
|
<p><%= t('projects.index.modal_edit_folder.description') %></p>
|
|
|
|
<div class="row">
|
2023-07-03 17:11:51 +08:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 sci-input-container">
|
|
|
|
<label><%= t('projects.index.modal_edit_folder.folder_name_field') %></label>
|
|
|
|
<%= f.text_field :name, autofocus: true, class: "sci-input-field" %>
|
2020-12-14 22:54:18 +08:00
|
|
|
</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 %>
|