5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 05:26:22 +00:00

fix: corregido edit in es.yml
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
jazzari 2024-01-17 17:37:02 -03:00
parent f098de102e
commit ad8e5bc811
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@
= post.order = post.order
%td.text-nowrap %td.text-nowrap
- if @usuarie || policy(post).edit? - if @usuarie || policy(post).edit?
= link_to t('posts.edit'), edit_site_post_path(@site, post.path), class: 'btn btn-secondary btn-block' = link_to t('posts.edit_post'), edit_site_post_path(@site, post.path), class: 'btn btn-secondary btn-block'
- if @usuarie || policy(post).destroy? - if @usuarie || policy(post).destroy?
= link_to t('posts.destroy'), site_post_path(@site, post.path), class: 'btn btn-secondary btn-block', method: :delete, data: { confirm: t('posts.confirm_destroy') } = link_to t('posts.destroy'), site_post_path(@site, post.path), class: 'btn btn-secondary btn-block', method: :delete, data: { confirm: t('posts.confirm_destroy') }

View file

@ -2,7 +2,7 @@
.row.justify-content-center .row.justify-content-center
.col-md-8 .col-md-8
%article.content.table-responsive-md %article.content.table-responsive-md
= link_to t('posts.edit'), = link_to t('posts.edit_post'),
edit_site_post_path(@site, @post.id), edit_site_post_path(@site, @post.id),
class: 'btn btn-secondary btn-block' class: 'btn btn-secondary btn-block'