anchor.diff:                            .input-group
                               input.form-control(name='value', type='text'
                               ng-model='order[type].second', ng-change='calc_first(type)'
  +                            rp-autofill='$routeParams.type == type && $routeParams.max'
  +                            rp-autofill-amount
                               rp-amount
                               rp-amount-positive
                               rp-amount-xrp-limit
  
positive.code:                           .input-group
                              input.form-control(name='price', type='text'
                              ng-model='order[type].price', ng-change='calc_second(type)'
                              rp-amount
                              rp-amount-positive
                              rp-amount-xrp-limit
  
negative.code:                           .input-group
                              input.form-control(name='amount', type='text'
                              ng-model='order[type].first', ng-change='calc_second(type)'
                              rp-autofill='$routeParams.type == type && $routeParams.amount'
                              rp-autofill-amount
                              rp-amount
                              rp-amount-positive
                              rp-amount-xrp-limit
  