how is it possible to add a description to a form field made with formtastic?
I tried this:
f.input :first_name, description: 'Please insert your first_name'
The description should appear right under the form field.
Thanks
格式字段没有描述选项,但是您可以使用:hint选项
f.input :first_name, :hint => 'Please insert your first_name'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.