5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 23:26:21 +00:00
panel/app/views/schemas/_row.haml

14 lines
452 B
Text
Raw Permalink Normal View History

2024-03-08 16:58:10 +00:00
%tr.border-top.border-magenta
2024-03-13 20:52:47 +00:00
%th.font-weight-normal.w-100.position-relative{ scope: 'row' }
- if local_assigns[:parent_schema]
%span.text-muted —
2024-03-13 20:52:47 +00:00
= 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