change indentaion and add new line

This commit is contained in:
Ahsan Ulhaq
2015-04-29 18:18:47 +05:00
parent 734ce5e2fb
commit 3ec676e61b

View File

@@ -40,8 +40,9 @@
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<% } %>
@@ -66,4 +67,4 @@
<% if( form === 'login' && name === 'password' ) { %>
<a href="#" class="forgot-password field-link"><%- gettext("Forgot password?") %></a>
<% } %>
</div>
</div>