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

11 lines
362 B
Text
Raw Normal View History

2022-03-02 17:01:17 +00:00
- dir = @site.data.dig(params[:locale], 'dir')
2020-06-25 20:15:43 +00:00
.row.justify-content-center
.col-md-8
2020-07-22 23:37:26 +00:00
%article.content.table-responsive-md
2024-01-17 20:37:02 +00:00
= 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')