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

16 lines
532 B
Text
Raw 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
2024-06-04 15:49:37 +00:00
-# XXX: Solo un nivel de recursividad
- unless local_assigns[:parent_schema]
- schema.schemas.each do |s|
- next if s.hidden?
2024-06-04 15:49:37 +00:00
= render 'schemas/row', schema: s,
site: site,
filter: filter,
parent_schema: schema