mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 10:16:22 +00:00
feat: no mostrar el campo borrador a les invitades #17343
This commit is contained in:
parent
78f757d429
commit
fc39a780ff
1 changed files with 15 additions and 11 deletions
|
@ -1,3 +1,7 @@
|
|||
-# TODO: convertir los atributos draft a un tipo
|
||||
- if attribute == :draft && site.invitade?(current_usuarie)
|
||||
-# Nada
|
||||
- else
|
||||
.form-check
|
||||
= hidden_field_tag "#{base}[#{attribute}]", '0', id: nil
|
||||
.custom-control.custom-switch
|
||||
|
|
Loading…
Reference in a new issue