diff --git a/app/assets/javascripts/admins/competition_settings/index.js b/app/assets/javascripts/admins/competition_settings/index.js index 35ced0197..9eb53d529 100644 --- a/app/assets/javascripts/admins/competition_settings/index.js +++ b/app/assets/javascripts/admins/competition_settings/index.js @@ -185,10 +185,8 @@ $(function () { ' \n' + '
\n' + ' \n' + '
\n' + '
\n' + @@ -457,11 +455,11 @@ function addNewTab() { var html = '
\n' + ' tab标题\n' + '
\n' + - ' \n' + + ' \n' + '
\n' + ' 总排行榜占比:\n' + '
\n' + - ' \n' + + ' \n' + '
%\n' + '
\n' + ' 新增子阶段\n' + diff --git a/app/views/admins/competition_settings/index.html.erb b/app/views/admins/competition_settings/index.html.erb index 21ca680c2..44e3da7ee 100644 --- a/app/views/admins/competition_settings/index.html.erb +++ b/app/views/admins/competition_settings/index.html.erb @@ -238,10 +238,8 @@
@@ -417,7 +415,7 @@ <% end %> <% end %> <% else %> - <%= form_tag(admins_competition_competition_stages_path(competition_id: @competition.id), method: :post, class: 'stage_update_form flex-1', remote: true) do %> + <%= form_tag(admins_competition_competition_stages_path(competition_id: @competition.id), method: :post, class: 'stage-update-form new-stage-form flex-1', remote: true) do %>
tab标题 @@ -426,7 +424,7 @@
总排行榜占比:
- +
%
新增子阶段 @@ -435,36 +433,36 @@ 保存
-
+
第1阶段
有效时间:
- + <%= text_field_tag 'stage[][start_time]', '', autocomplete: 'off', class: 'section-start-time form-control', placeholder: '有效开始时间' %>
~
- + <%= text_field_tag 'stage[][end_time]', '', autocomplete: 'off', class: 'section-end-time form-control', placeholder: '有效结束时间' %>
任务完成要求:
- +
/
- +
(总任务) 成绩来源:
- + +
-
+
删除