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

9 lines
441 B
Text

.row.justify-content-center
.col-md-8
- if policy(@site).edit?
= render 'layouts/details', summary: t('posts.edit.post') do
= render 'posts/form', site: @site, post: @post
= render 'layouts/details', summary: t('posts.edit.moderation_queue') do
= render 'posts/moderation_queue', site: @site, post: @post, moderation_queue: @moderation_queue
- else
= render 'posts/form', site: @site, post: @post