5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 16:56:22 +00:00
panel/app/views/posts/attribute_ro/_new_has_one.haml

7 lines
192 B
Text
Raw Normal View History

2024-06-03 20:52:53 +00:00
%tr{ id: attribute }
%th= post_label_t(attribute, post: post)
%td{ dir: dir, lang: locale }
- p = metadata.has_one
- if p
= link_to p.title.value, site_post_path(site, p.id)