mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 12:36:21 +00:00
fix: error de indentación
This commit is contained in:
parent
e58898178b
commit
c0917b4c09
1 changed files with 10 additions and 10 deletions
|
@ -135,16 +135,16 @@
|
|||
%span{ lang: post.locale, dir: dir }= category
|
||||
= '/' unless post.front_matter['categories'].last == category
|
||||
|
||||
%td.text-nowrap
|
||||
= post.created_at.strftime('%F')
|
||||
%br/
|
||||
= post.order
|
||||
%td.text-nowrap
|
||||
.d-flex.flex-row.align-items-start
|
||||
- if @usuarie || policy(post).edit?
|
||||
= link_to t('posts.edit_post'), edit_site_post_path(@site, post.path), class: 'btn btn-secondary'
|
||||
- if @usuarie || policy(post).destroy?
|
||||
= link_to t('posts.destroy'), site_post_path(@site, post.path), class: 'btn btn-secondary', method: :delete, data: { confirm: t('posts.confirm_destroy') }
|
||||
%td.text-nowrap
|
||||
= post.created_at.strftime('%F')
|
||||
%br/
|
||||
= post.order
|
||||
%td.text-nowrap
|
||||
.d-flex.flex-row.align-items-start
|
||||
- if @usuarie || policy(post).edit?
|
||||
= link_to t('posts.edit_post'), edit_site_post_path(@site, post.path), class: 'btn btn-secondary'
|
||||
- if @usuarie || policy(post).destroy?
|
||||
= link_to t('posts.destroy'), site_post_path(@site, post.path), class: 'btn btn-secondary', method: :delete, data: { confirm: t('posts.confirm_destroy') }
|
||||
-#
|
||||
Rescatar cualquier error en un post, notificarlo e
|
||||
ignorar su renderización.
|
||||
|
|
Loading…
Reference in a new issue