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:
parent
29be4b26b0
commit
6bc013c859
2 changed files with 25 additions and 23 deletions
|
@ -1,4 +1,5 @@
|
|||
%tr{ id: attribute }
|
||||
- if site.locales.count > 1
|
||||
%tr{ id: attribute }
|
||||
%th= post_label_t(attribute, post: post)
|
||||
%td
|
||||
%ul
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
%fieldset
|
||||
- if site.locales.count > 1
|
||||
%fieldset
|
||||
%legend= post_label_t(attribute, post: post)
|
||||
|
||||
= render 'posts/attribute_feedback',
|
||||
|
|
Loading…
Reference in a new issue