change three line structure to one line

This commit is contained in:
Ahsan Ulhaq
2015-04-30 16:42:03 +05:00
parent 3ec676e61b
commit 6d451ccd47

View File

@@ -40,9 +40,7 @@
type="<%= type %>"
name="<%= name %>"
class="input-block <% if ( type === 'checkbox' ) { %>checkbox<% } %>"
<% if ( type !== 'password' ) { %>
aria-describedby="<%= form %>-<%= name %>-desc"
<% } %>
<% if ( type !== 'password' ) { %> aria-describedby="<%= form %>-<%= name %>-desc" <% } %>
<% if ( restrictions.min_length ) { %> minlength="<%= restrictions.min_length %>"<% } %>
<% if ( restrictions.max_length ) { %> maxlength="<%= restrictions.max_length %>"<% } %>
<% if ( required ) { %> aria-required="true" required<% } %>