change three line structure to one line
This commit is contained in:
@@ -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<% } %>
|
||||
|
||||
Reference in New Issue
Block a user