scinote-web/app/views/canvas/edit/modal/_edit_module.html.erb

20 lines
1 KiB
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<div class="modal fade" id="modal-edit-module" tabindex="-1" role="dialog" aria-labelledby="modal-edit-module-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">&times;</span></button>
<h4 class="modal-title" id="modal-edit-module-label"><%=t "experiments.canvas.edit.modal_edit_module.title" %></h4>
2016-02-12 23:52:43 +08:00
</div>
<div class="modal-body">
<%= bootstrap_form_tag do |f| %>
<%= f.text_field t("experiments.canvas.edit.modal_edit_module.name"), id: "edit-module-name-input" %>
2016-02-12 23:52:43 +08:00
<% end %>
</div>
<div class="modal-footer">
2020-01-07 23:13:34 +08:00
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%=t "general.cancel" %></button>
<button type="button" class="btn btn-primary" data-action="confirm"><%=t "experiments.canvas.edit.modal_edit_module.confirm" %></button>
2016-02-12 23:52:43 +08:00
</div>
</div>
</div>
</div>