Lecturer | Lecture | Student | Grade | Submission | Comment | Action |
---|---|---|---|---|---|---|
<%= grade.lecture.lecturer.login %> | <%= grade.lecture.name %> | <%= grade.student.login %> | <%= grade.grade %> | <% if grade.submission.attached? %> <%= link_to grade.submission.filename.to_s, rails_blob_url(grade.submission, disposition: "attachment") %> <% end %> | <% if grade.comment %> <%= grade.comment.html_safe %> <% end %> | <%= link_to 'Edit', edit_grade_path(grade), :class => "w3-button w3-light-blue" %> |