From 00a4be2879f242305fa7bff89f2a4a47f900ec57 Mon Sep 17 00:00:00 2001 From: xiaoxiaoqiong Date: Thu, 31 Mar 2022 08:57:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=9B=E4=BA=8B=E8=AF=A6=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/competition_infos/_form.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/competition_infos/_form.html.erb b/app/views/competition_infos/_form.html.erb index 15af426b..9e40e47b 100644 --- a/app/views/competition_infos/_form.html.erb +++ b/app/views/competition_infos/_form.html.erb @@ -21,7 +21,7 @@
<%= form.label :content, "赛事说明" %> - <%= form.text_field :content, :style=>'width:800px;'%> + <%= form.text_area :content,rows: 5, :style=>'width:800px;' %>
@@ -65,11 +65,11 @@
<%= form.label :guide, "赛事指南" %> - <%= form.text_field :guide, :style=>'width:1200px;' %> + <%= form.text_area :guide, rows: 5, :style=>'width:1200px;' %>
<%= form.label :about_us, "关于我们" %> - <%= form.text_field :about_us, :style=>'width:1200px;' %> + <%= form.text_area :about_us, rows: 5, :style=>'width:1200px;' %>