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

11 lines
378 B
Text
Raw Permalink 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'),
2024-05-24 16:23:30 +00:00
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')