diff --git a/app/views/tutorials/_submission_row.html.erb b/app/views/tutorials/_submission_row.html.erb index 42d7e8337..9460eb075 100644 --- a/app/views/tutorials/_submission_row.html.erb +++ b/app/views/tutorials/_submission_row.html.erb @@ -34,16 +34,16 @@ data: { turbolinks: false } %> <% end %> - <% if current_user.in?(submission.tutorial.tutors) %> -
+
+ <% if current_user.in?(submission.tutorial.tutors) %> <%= render partial: 'submissions/correction_column', - locals: { submission: submission } %> -
- <% else %> - <%= render partial: 'submissions/download', - locals: { submission: submission } %> - <% end %> + locals: { submission: submission } %> + <% else %> + <%= render partial: 'submissions/download', + locals: { submission: submission } %> + <% end %> +
<% if current_user.in?(submission.tutorial.tutors) %>