% var btnPrimary = btnDanger = btnDefault = formCtrl = firstCol = otherCols = ''; if( bootstrap ) { btnPrimary = ' class="btn btn-primary"'; btnDanger = ' class="btn btn-danger"'; formCtrl = ' class="form-control"'; if( hasPasswordProvider && hasOauthProviders ) { firstCol = ' class="{{user.provider === \'password\'? \'col-md-4\' : \'col-md-12\'}}"'; otherCols = ' class="col-md-4" ng-show="{{user.provider === \'password\'}}"'; } else if( hasPasswordProvider ) { firstCol = ' class="col-md-4"'; otherCols = ' class="col-md-4"'; } else { firstCol = ' class="col-md-12"'; } } %>