diff --git a/app/views/posts/_new_related_post.haml b/app/views/posts/_new_related_post.haml index 79bf33a2..046080c9 100644 --- a/app/views/posts/_new_related_post.haml +++ b/app/views/posts/_new_related_post.haml @@ -11,4 +11,4 @@ - if post.post.attribute?(:description) %p.card-text= post.post.description.value - = link_to 'Editar', post.path, class: 'btn btn-secondary' + = link_to t('.edit'), edit_site_post_path(post.site, post.path), class: 'btn btn-secondary' diff --git a/config/locales/en.yml b/config/locales/en.yml index 3eb0cc24..457b7927 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -960,3 +960,5 @@ en: edit: "Edit" filter: "Start typing to filter..." save: "Save" + card: + edit: "Edit" diff --git a/config/locales/es.yml b/config/locales/es.yml index d69a88b7..d149dee8 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -968,3 +968,5 @@ es: edit: "Editar" filter: "Empezá a escribir para filtrar..." save: "Guardar" + card: + edit: "Editar"