mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 17:56:22 +00:00
13 lines
425 B
Text
13 lines
425 B
Text
|
%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
|