From abf6ff91e9e98a51ddc00e03c21dd55cfba3ece0 Mon Sep 17 00:00:00 2001 From: YXX <778526573@qq.com> Date: Fri, 6 Jan 2017 10:56:10 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/courses/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/courses/_form.html.erb b/app/views/courses/_form.html.erb index a113f78af..2310cb8e0 100644 --- a/app/views/courses/_form.html.erb +++ b/app/views/courses/_form.html.erb @@ -48,7 +48,7 @@
- <%= f.select :limit_num ,options_for_select(['40', '100','200','350','500']), {}, class: 'form-control' %> + <%= f.text_field :limit_num, class: 'form-control', placeholder: "请输入0到1000的整数" %>