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;' %>