2,763
社区成员
发帖
与我相关
我的任务
分享
<div class="form-group" style="float:left">
<label for="name">学时/学分</label>
<select class="form-control" , style="width:150px">
<option value="1">60/3.0</option>
<option value="2">40/2.0</option>
</select>
</div>
<div class="form-group" style="float:left">
<label for="name">课程属性</label>
<select class="form-control" , style="width:150px">
<option>专业核心课</option>
<option>专业普及课</option>
</select>
</div>
<div class="form-group" style="float:left">
<label for="name">授课方式</label>
<select class="form-control" , style="width:150px">
<option>课堂讲授为主</option>
<option>授课、讨论</option>
</select>
</div>
<div class="form-group" style="float:left">
<label for="name">考试方式</label>
<select class="form-control" , style="width:150px">
<option>课堂开卷</option>
<option>闭卷考试</option>
</select>
</div>
<div class="form-group" style="float:hidden">
<%=link_to "筛选", filter_course_url(@course),class: 'btn btn-xs btn-info' %>
<%=link_to "刷新", refresh_course_url(@course),class: 'btn btn-xs btn-info' %>
</div>
def filter
@course=Course.find_by_id(params)
redirect_to courses_path, flash: flash
end
def refresh
@course=Course.find_by_id(params)
redirect_to courses_path, flash: flash
end