Skip to content
Snippets Groups Projects
Commit 7b14051b authored by Alberto Siles's avatar Alberto Siles Committed by Alberto Siles
Browse files

Checkbox as button attributes

parent dc0a6f10
No related branches found
Tags 5.5.12
No related merge requests found
......@@ -107,7 +107,11 @@
{{ input_title | raw }}
</label>
{% endif %}
<input{{ input_attributes.addClass(inputclass) }}>
{% if checkbox_style == 'form-button' %}
<input{{ input_attributes.addClass(inputclass).setAttribute('autocomplete', 'off') }}>
{% else %}
<input{{ input_attributes.addClass(inputclass) }}>
{% endif %}
{% if label_display == 'after' %}
<label {{ label_attributes.addClass(labelclass).setAttribute('for', input_attributes.id) }}>
{{ input_title | raw }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment