|
|
|
@ -35,6 +35,31 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 新增transaction_fee字段 -->
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':rate_form.transaction_fee.$invalid && rate_form.transaction_fee.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-4" for="transaction_fee_input">Transaction Fee</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<input type="number" name="transaction_fee" class="form-control" ng-model="rate.transaction_fee"
|
|
|
|
|
min="0" step="0.1" id="transaction_fee_input" required>
|
|
|
|
|
<div class="input-group-addon">%</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div ng-messages="rate_form.transaction_fee.$error" ng-if="rate_form.transaction_fee.$dirty">
|
|
|
|
|
<!--<div class="small text-danger" ng-message="max">-->
|
|
|
|
|
<!--<i class="glyphicon glyphicon-alert"></i> No more than 2.2%-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<div class="small text-danger" ng-message="min">
|
|
|
|
|
<i class="glyphicon glyphicon-alert"></i> No less than 0
|
|
|
|
|
</div>
|
|
|
|
|
<div class="small text-danger" ng-message="required">
|
|
|
|
|
<i class="glyphicon glyphicon-alert"></i> Required Field
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label col-sm-4" for="active_time_input">Active Date</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|