Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 2

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 texttextareacheckbox).

...

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" }}

...