Render units from collection, without redirects

This commit is contained in:
2024-01-15 18:45:30 +01:00
parent de995aa586
commit 5047d4909f
9 changed files with 37 additions and 22 deletions

View File

@@ -98,6 +98,10 @@ module ApplicationHelper
end.join.html_safe
end
def render_no_items
tag.tr tag.td t('.no_items'), colspan: 10, class: 'hint'
end
private
def image_element_to(type, name, image = nil, options = nil, html_options = {})