5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 14:31:42 +00:00

fix: no mostrar el campo si no hay locales

This commit is contained in:
f 2023-04-05 19:30:59 -03:00
parent 29be4b26b0
commit 6bc013c859
2 changed files with 25 additions and 23 deletions

View file

@ -1,4 +1,5 @@
%tr{ id: attribute }
- if site.locales.count > 1
%tr{ id: attribute }
%th= post_label_t(attribute, post: post)
%td
%ul

View file

@ -1,4 +1,5 @@
%fieldset
- if site.locales.count > 1
%fieldset
%legend= post_label_t(attribute, post: post)
= render 'posts/attribute_feedback',