Returns an HTML input tag. The filter’s input will be the name
attribute for the HTML tag. The filter accepts an extra argument which is the tht HTML input’s type (such as text
, textarea
, checkbox
).
...
Note that it might be useful to use this filter in combination with the the form_input_nameas as follows:
Input:
Code Block |
---|
{{ "Name" | form_input_name | html_input: "checkbox" }} |
...