From 74049a9cb490f22da719009dfc51cc9cf5092fcf Mon Sep 17 00:00:00 2001 From: f Date: Tue, 28 May 2024 18:21:40 -0300 Subject: [PATCH] fix: mostrar el valor legible por humanes --- app/views/posts/attribute_ro/_new_predefined_value.haml | 2 +- app/views/posts/attribute_ro/_predefined_value.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/posts/attribute_ro/_new_predefined_value.haml b/app/views/posts/attribute_ro/_new_predefined_value.haml index 67642e2c..fd594975 100644 --- a/app/views/posts/attribute_ro/_new_predefined_value.haml +++ b/app/views/posts/attribute_ro/_new_predefined_value.haml @@ -1,3 +1,3 @@ %tr{ id: attribute } %th= post_label_t(attribute, post: post) - %td{ dir: dir, lang: locale }= metadata.value + %td{ dir: dir, lang: locale }= metadata.values.invert[metadata.value] diff --git a/app/views/posts/attribute_ro/_predefined_value.haml b/app/views/posts/attribute_ro/_predefined_value.haml index 67642e2c..fd594975 100644 --- a/app/views/posts/attribute_ro/_predefined_value.haml +++ b/app/views/posts/attribute_ro/_predefined_value.haml @@ -1,3 +1,3 @@ %tr{ id: attribute } %th= post_label_t(attribute, post: post) - %td{ dir: dir, lang: locale }= metadata.value + %td{ dir: dir, lang: locale }= metadata.values.invert[metadata.value]