mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-30 01:46:21 +00:00
fdb79e3469
TODO convertir esto en una clase general
8 lines
265 B
Text
8 lines
265 B
Text
= number_field_tag field_name_for_post_as_string(name),
|
|
value,
|
|
class: 'form-control',
|
|
required: template.required?,
|
|
max: template.max > 0 ? template.max : nil,
|
|
min: template.min
|
|
- if template.max > 0
|
|
%small= raw t('posts.number.max', max: template.max)
|