<% if(horizontal) {%>
<% } %>
<% if(prepend) { %><%= prepend %><% } %> required <% } %><% if(readonly) {%> readonly <% } %><% if(isDisabled) {%> disabled <% } %> /> <% if(append) { %><%= append %><% } %>
<% if (helptext.length > 0) { %>

<%= helptext %>

<% } %> <% if(horizontal) {%>
<% } %>