educoder/app/views/users/_user_score.html.erb

8 lines
606 B
Plaintext

<%= l(:label_user_grade)%>:
<!-- user.user_score_attr.total_score -->
<!-- user_scores(user,1).total_score -->
<%= link_to(format("%.2f" ,get_option_number(user,1).total_score ).to_i, {:controller => 'users',
:action => 'show_new_score',
:remote => true,
:id => user.id
}, :style => 'color :#E8770D;',:id => 'user_score') %>