The template_data
tag works in conjunction with custom templates by setting parameters specific to the template.
100. Do you have any other feedback?
type: textbox
maxlength: 500
template: char_remain
template_data: {remain_text => 'You have {{count}} more {{chars}} left to use.', remain_one => 'letter, number, or space', remain_multiple => 'letters, numbers, or spaces'}
Details
- Use a reference to a hash to access the parameters and assign values.
- Quotes may be required depending on the data type.
- Check the specific template's documentation for available parameters.
Comments
0 comments
Please sign in to leave a comment.