5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 22:36:21 +00:00
panel/app/views/posts/edit.haml
2019-09-12 13:57:57 -03:00

10 lines
402 B
Text

= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
link_to(@site.name, site_posts_path(@site)),
link_to(t('posts.index'), site_posts_path(@site)),
link_to(@post.title.value, site_post_path(@site, @post.id)),
t('posts.edit')]
.row.justify-content-center
.col-md-8
= render 'posts/form', site: @site, post: @post