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

13 lines
425 B
Text
Raw Normal View History

%tr
%th{ scope: 'row' }
- if local_assigns[:parent_schema]
%span.text-muted —
= schema.humanized_name
%td.px-0= render 'schemas/add', **local_assigns
%td.px-0= 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