diff --git a/app/views/homework_attach/_evaluation.html.erb b/app/views/homework_attach/_evaluation.html.erb index c92f84e42..3d50bd6e3 100644 --- a/app/views/homework_attach/_evaluation.html.erb +++ b/app/views/homework_attach/_evaluation.html.erb @@ -1,4 +1,4 @@
评分: <%= rating_for homework, dimension: :quality, class: 'rateable div_inline' %> - + (您可以对作业进行多次评价,以最后一次评价为最终结果)
\ No newline at end of file diff --git a/app/views/homework_attach/_show.html.erb b/app/views/homework_attach/_show.html.erb index 620a29936..c432d4f3f 100644 --- a/app/views/homework_attach/_show.html.erb +++ b/app/views/homework_attach/_show.html.erb @@ -8,6 +8,7 @@ //如果要做成点击后再转到请将
  • 中的onmouseover 改成 onclick; //]]> +<%= javascript_include_tag 'seems_rateable/jRating', 'seems_rateable/rateable'%>

    <%= @homework.name %>

    @@ -48,7 +49,7 @@

    - 评分: + <%= l(:label_work_rating) %>: <%= rating_for @homework, dimension: :quality, class: 'rateable div_inline' %>