This seems really strange to me, but I get an error when I use textarea
in place of input
in a partial:
...
<div class="control-group">
<div class="form-group col-xs-12 floating-label-form-group controls">
<textarea class="form-control" rows="3" placeholder="Message" id="message" name="message">
</div>
</div>
...
Here’s the error message (added linebreaks for readability):
.../themes/mytheme/layouts/_default/single.html:46:5":
execute of template failed:
template: _default/single.html:46:5:
executing "_default/single.html" at <partial "leadcap.html" .>:
error calling partial:
execute of template failed:
html/template:partials/leadcap.html:
ends in a non-text context:
{stateRCDATA delimNone urlPartNone jsCtxRegexp attrNone elementTextarea <nil>}