5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 02:06:22 +00:00
panel/app/views/posts/attribute_ro/_has_one_nested.haml

7 lines
359 B
Text
Raw Normal View History

2024-04-17 21:09:55 +00:00
%tr{ id: attribute }
%td{ dir: dir, lang: locale, colspan: 2 }
- if (p = metadata.has_one)
= render 'layouts/details', details_class: '', summary_class: 'font-weight-bold', summary: post_label_t(attribute, post: post) do
.mt-3
= render 'posts/table', site: site, post: p, dir: dir, locale: locale, title: p.layout.humanized_name