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:
parent
29be4b26b0
commit
6bc013c859
2 changed files with 25 additions and 23 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue