From ad5a553fa19fc61364df3aa9c01c0cba43185e83 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 17 Jun 2024 11:08:27 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20arreglar=20el=20bot=C3=B3n=20de=20editar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/posts/_new_related_post.haml | 2 +- config/locales/en.yml | 2 ++ config/locales/es.yml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) 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"