2023-04-17 21:31:51 +00:00
|
|
|
%tr
|
2023-04-21 17:14:39 +00:00
|
|
|
%th.w-100{ scope: 'row' }
|
2023-04-17 21:31:51 +00:00
|
|
|
- if local_assigns[:parent_schema]
|
|
|
|
%span.text-muted —
|
|
|
|
= schema.humanized_name
|
2023-04-21 17:14:39 +00:00
|
|
|
%td.px-0.text-nowrap
|
|
|
|
= render 'schemas/add', **local_assigns
|
|
|
|
= render 'schemas/filter', **local_assigns
|
2023-04-17 21:31:51 +00:00
|
|
|
|
|
|
|
-# XXX: Solo un nivel de recursividad
|
|
|
|
- unless local_assigns[:parent_schema]
|
|
|
|
- schema.schemas.each do |s|
|
2024-01-15 17:36:07 +00:00
|
|
|
- next if s.hidden?
|
2023-04-17 21:31:51 +00:00
|
|
|
= render 'schemas/row', schema: s, site: site, filter: filter, parent_schema: schema
|