5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 16:11: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,3 +1,4 @@
- if site.locales.count > 1
%tr{ id: attribute } %tr{ id: attribute }
%th= post_label_t(attribute, post: post) %th= post_label_t(attribute, post: post)
%td %td

View file

@ -1,3 +1,4 @@
- if site.locales.count > 1
%fieldset %fieldset
%legend= post_label_t(attribute, post: post) %legend= post_label_t(attribute, post: post)