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

7 lines
225 B
Text
Raw Permalink Normal View History

2023-04-08 20:26:56 +00:00
%tr{ id: attribute }
%th= post_label_t(attribute, post: post)
%td{ dir: dir, lang: locale }
2023-10-27 17:06:19 +00:00
- p = site.indexed_posts.find_by_post_id(metadata.value)
2023-04-08 20:26:56 +00:00
- if p
2023-10-27 17:06:19 +00:00
= link_to p.title, site_post_path(site, p.post_id)