You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.2 KiB
28 lines
1.2 KiB
<div class="modal fade admin-create-competition-modal" tabindex="-1" role="dialog" aria-hidden="true">
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title">新增竞赛</h5>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<form class="admin-create-competition-form" data-url="<%= admins_competitions_path %>">
|
|
<div class="form-group d-flex">
|
|
<label for="new_mirror_id" class="col-form-label">竞赛名称:</label>
|
|
<div class="w-75 d-flex flex-column">
|
|
<%= text_field_tag(:competition_name, nil, class: 'form-control', placeholder: '请输入竞赛名称') %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="error text-danger"></div>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
|
|
<button type="button" class="btn btn-primary submit-btn">确认</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |