5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 00:06:21 +00:00
panel/app/views/schemas/_row.haml
2024-06-04 12:49:37 -03:00

15 lines
532 B
Text

%tr.border-top.border-magenta
%th.font-weight-normal.w-100.position-relative{ scope: 'row' }
- if local_assigns[:parent_schema]
%span.text-muted —
= render 'schemas/add', schema: schema, **local_assigns
-# XXX: Solo un nivel de recursividad
- unless local_assigns[:parent_schema]
- schema.schemas.each do |s|
- next if s.hidden?
= render 'schemas/row', schema: s,
site: site,
filter: filter,
parent_schema: schema