2016-02-12 23:52:43 +08:00
|
|
|
<div class="modal fade" id="modal-edit-module-group" tabindex="-1" role="dialog" aria-labelledby="modal-edit-module-group-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>
|
2016-07-26 20:21:59 +08:00
|
|
|
<h4 class="modal-title" id="modal-edit-module-group-label"><%=t "experiments.canvas.edit.modal_edit_module_group.title" %></h4>
|
2016-02-12 23:52:43 +08:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<span class="module-name-length-error" style="display: none;">
|
2016-07-26 20:21:59 +08:00
|
|
|
<%=t "experiments.canvas.edit.modal_new_module.error_length" %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</span>
|
|
|
|
<span class="module-name-invalid-error" style="display: none;">
|
2016-07-26 20:21:59 +08:00
|
|
|
<%=t "experiments.canvas.edit.modal_new_module.error_invalid" %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</span>
|
|
|
|
<span class="module-name-whitespaces-error" style="display: none;">
|
2016-07-26 20:21:59 +08:00
|
|
|
<%=t "experiments.canvas.edit.modal_new_module.error_whitespaces" %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</span>
|
|
|
|
<%= bootstrap_form_tag do |f| %>
|
2016-07-26 20:21:59 +08:00
|
|
|
<%= f.text_field t("experiments.canvas.edit.modal_edit_module_group.name"), id: "edit-module-group-name-input" %>
|
2016-02-12 23:52:43 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2016-07-26 20:21:59 +08:00
|
|
|
<button type="button" class="btn btn-primary" data-action="confirm"><%=t "experiments.canvas.edit.modal_edit_module_group.confirm" %></button>
|
2016-08-30 15:16:53 +08:00
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
2016-02-12 23:52:43 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-07-26 20:21:59 +08:00
|
|
|
</div>
|