mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
26 lines
1.2 KiB
Text
26 lines
1.2 KiB
Text
<div class="modal" id="create-repo-modal" tabindex="-1" role="dialog" aria-labelledby="create-repo-modal-label">
|
|
<%= bootstrap_form_for [current_team, @repository], 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="Close"><span aria-hidden="true">×</span></button>
|
|
<h3 class="modal-title" id="create-repo-modal-label">
|
|
<%= t("repositories.index.modal_create.title") %>
|
|
</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="form-group sci-input-container">
|
|
<%= f.text_field :name,
|
|
autofocus: true,
|
|
label: t("repositories.index.modal_create.name_label"),
|
|
class: "sci-input-field",
|
|
placeholder: t("repositories.index.modal_create.name_placeholder") %>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<%= f.submit t("repositories.index.modal_create.submit"), class: "btn btn-success" %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
</div>
|