Commit 2d17f77d authored by Chrysanthi Lagodimou's avatar Chrysanthi Lagodimou

Do not print hr for empty column

parent b381d87c
Pipeline #31839 passed with stage
in 38 minutes and 19 seconds
......@@ -67,7 +67,11 @@ class SemesterProcessVolunteer < ApplicationRecord
def render_feedback(field)'<hr>').html_safe
size = 0
semester_feedbacks.each do |f|
size += f[field].size
end'<hr>').html_safe if size != 0
def responsible=(responsible_user)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment