mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-29 15:26:21 +00:00
fix: corregido edit in es.yml
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
f098de102e
commit
ad8e5bc811
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@
|
|||
= post.order
|
||||
%td.text-nowrap
|
||||
- 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?
|
||||
= 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') }
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
.row.justify-content-center
|
||||
.col-md-8
|
||||
%article.content.table-responsive-md
|
||||
= link_to t('posts.edit'),
|
||||
= link_to t('posts.edit_post'),
|
||||
edit_site_post_path(@site, @post.id),
|
||||
class: 'btn btn-secondary btn-block'
|
||||
|
||||
|
|
Loading…
Reference in a new issue