mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 09:21:41 +00:00
8 lines
288 B
Text
8 lines
288 B
Text
|
-# Si el campo está anidado, la raíz del atributo name tiene que
|
||
|
-# contener los demás elementos del template superior
|
||
|
- root, field_name = field_name_for_post(name)
|
||
|
= text_field root, field_name,
|
||
|
value: local_assigns[:value],
|
||
|
class: 'form-control',
|
||
|
required: template.required?
|