5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 10:36:21 +00:00
panel/app/views/schemas/_row.haml
f d8c432b71a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: ocupar menos espacio #13199
2023-04-21 14:14:39 -03:00

13 lines
442 B
Text

%tr
%th.w-100{ scope: 'row' }
- if local_assigns[:parent_schema]
%span.text-muted —
= schema.humanized_name
%td.px-0.text-nowrap
= render 'schemas/add', **local_assigns
= render 'schemas/filter', **local_assigns
-# XXX: Solo un nivel de recursividad
- unless local_assigns[:parent_schema]
- schema.schemas.each do |s|
= render 'schemas/row', schema: s, site: site, filter: filter, parent_schema: schema