5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-05 23:55:45 +00:00
panel/app/views/posts/edit.haml
2019-09-12 13:57:57 -03:00

11 lines
402 B
Plaintext

= 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