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的整数" %>