Created
August 28, 2019 11:17
-
-
Save davidhellmann/ba9fd66a1a5ba090fc46e517230d4b71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% include '_forms/input/_template.twig' with { | |
opt: { | |
type: 'text', | |
name: field.handle, | |
label: field.label, | |
value: field.value, | |
maxlength: field.maxLength, | |
required: field.required, | |
id: 'input' ~ field.id, | |
placeholder: field.placeholder, | |
info: field.instructions, | |
errors: field.errors, | |
rulesHtmlData: field.rulesHtmlData, | |
inputAttributes: field.inputAttributes, | |
labelAttributes: field.labelAttributes, | |
errorAttributes: field.errorAttributes, | |
instructionAttributes: field.instructionAttributes, | |
} | |
} only %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment