<% if (readonly) { %>
<%= text %>
<% } else { %>
style="width:<%= width %>"<% } %>> /> <% if ( ! required) { %> <% } %>
<% } %>