5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 09:06:21 +00:00
panel/app/views/posts/attribute_ro/_has_one.haml
f 7a0443d7cc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fixup! fix: has_one es como belongs_to
2023-10-27 14:06:19 -03:00

6 lines
225 B
Text

%tr{ id: attribute }
%th= post_label_t(attribute, post: post)
%td{ dir: dir, lang: locale }
- p = site.indexed_posts.find_by_post_id(metadata.value)
- if p
= link_to p.title, site_post_path(site, p.post_id)