mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-30 01:26:22 +00:00
5 lines
242 B
Text
5 lines
242 B
Text
= text_area_tag field_name_for_post_as_string(name), value,
|
|
class: 'form-control', required: template.required?,
|
|
maxlength: template.max > 0 ? template.max : nil
|
|
- if template.max > 0
|
|
%small= t('posts.text_area.max', max: template.max)
|