form-group row ng-cloak ng-class portfolioForm desired_return error in

1
2
3
4
5
6
7
.form-group.row.ng-cloak{:'ng-class' => "(portfolioForm.desired_return.$error.invalid || errors.desired_return[0] || portfolioForm.desired_return.$error.min || portfolioForm.desired_return.$error.max) ? 'has-error' : ''", 'ng-if' => "portfolio.algorithm == 'markowitz'"}
%label.control-label.col-xs-12.col-sm-3.no-padding-right{:for => "form-field-2"}
Desired return:
.col-xs-12.col-sm-9
.clearfix
%input{'integer-validation' => "", :max => '99', :min => '1', :'required' => "", :type => "number", :id => "form-field-2", :class => "col-xs-4 col-sm-2", :step => "any", :'ng-model' => 'portfolio.desired_return', :'name' => 'desired_return'}
%span.help-button{:popover => "{}", :'data-rel'=>"popover", :'data-trigger'=>"hover", :'data-placement'=>"right", :'data-content'=>"Parameter (in percentage) for Markowitz algorithm. Must be from 1 to 99.", :title=>"", :'data-original-title' =>'' }?