5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 23:06:22 +00:00
panel/app/views/posts/show.haml
2024-05-24 13:23:30 -03:00

10 lines
378 B
Text

- dir = @site.data.dig(params[:locale], 'dir')
.row.justify-content-center
.col-md-8
%article.content.table-responsive-md
= link_to t('posts.edit_post'),
edit_site_post_path(@site, @post.id),
class: 'btn btn-secondary btn-block'
= render 'table', dir: dir, site: @site, locale: @locale, post: @post, title: t('.front_matter')