From 6d451ccd47a25bdbc04c48528884a75d0d2cc5db Mon Sep 17 00:00:00 2001 From: Ahsan Ulhaq Date: Thu, 30 Apr 2015 16:42:03 +0500 Subject: [PATCH] change three line structure to one line --- lms/templates/student_account/form_field.underscore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lms/templates/student_account/form_field.underscore b/lms/templates/student_account/form_field.underscore index bd2eede884..943b070940 100644 --- a/lms/templates/student_account/form_field.underscore +++ b/lms/templates/student_account/form_field.underscore @@ -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<% } %>