sutty/app/views/posts/attribute_ro/_has_many.haml

7 lines
205 B
Text
Raw Permalink Normal View History

2020-07-22 23:35:43 +00:00
%tr{ id: attribute }
%th= post_label_t(attribute, post: post)
%td
%ul{ dir: dir, lang: locale }
- metadata.has_many.each do |p|
%li= link_to p.title.value, site_post_path(site, p.id)