From e70e0f54f39a4fc474f5afe2b7350d47ca9f5886 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Thu, 24 Oct 2019 10:44:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../competition_settings/index.html.erb | 31 ++++++++++--------- app/views/users/get_user_info.json.jbuilder | 1 + 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/app/views/admins/competition_settings/index.html.erb b/app/views/admins/competition_settings/index.html.erb index 47a6c6678..7133b7254 100644 --- a/app/views/admins/competition_settings/index.html.erb +++ b/app/views/admins/competition_settings/index.html.erb @@ -155,22 +155,25 @@ <% @competition.competition_modules.each do |com_module| %> <% case com_module.module_type %> <% when 'home' %> - +
+
+
+ +
+
+ <%= text_field_tag('navbar[][name]', com_module.name, id: nil, class: 'form-control', placeholder: '首页') %> + +
+
+ <%= text_field_tag('navbar[][position]', com_module.position, id: nil, class: 'form-control', placeholder: '位置') %> +
+
+
<% end %> <% end %> -
-
-
- -
-
-
- -
-
+