前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
<div class="inmodal"> <div class="modal-header"> <h4 class="modal-title">{{operation | translate}}(ID:{{distributionsystem.id}})</h4> </div> <div class="modal-body"> <form role="form" name="form_distributionsystem" novalidate class="form-horizontal"> <div class="form-group"><label class="col-sm-2 control-label">{{'SETTING.NAME' | translate}}</label> <div class="col-sm-10"><input ng-model="distributionsystem.name" type="text" name="distributionsystemname" class="form-control" required=""> <div class="m-t-xs" ng-show="form_distributionsystem.distributionsystemname.$invalid && form_distributionsystem.distributionsystemname.$dirty"> <small class="text-danger" ng-show="form_distributionsystem.distributionsystemname.$error.required">{{'SETTING.INPUT_NAME' | translate}}</small> </div> </div> </div> <div class="hr-line-dashed"></div> <div class="form-group"><label class="col-sm-2 control-label">{{'DISTRIBUTION_SYSTEM.SVG' | translate}}</label> <div class="col-sm-10"><textarea ng-model="distributionsystem.svg" rows="20" cols="50" name="distributionsystemsvg" class="form-control" required=""></textarea> <div class="m-t-xs" ng-show="form_distributionsystem.distributionsystemsvg.$invalid && form_distributionsystem.distributionsystemsvg.$dirty"> <small class="text-danger" ng-show="form_distributionsystem.distributionsystemsvg.$error.required">{{'DISTRIBUTION_SYSTEM.INPUT_SVG' | translate}}</small> </div> </div> </div> <div class="form-group"><label class="col-sm-2 control-label">{{'DISTRIBUTION_SYSTEM.DESCRIPTION' | translate}} ({{'SETTING.OPTIONAL' | translate}})</label> <div class="col-sm-10"><input ng-model="distributionsystem.description" type="text" name="distributionsystemdescription" class="form-control" > </div> </div> </form> </div> <div class="modal-footer"> <button type="button" class="btn btn-white" ng-click="cancel()">{{'SETTING.CANCEL' | translate}}</button> <button type="button" ng-disabled="form_distributionsystem.$invalid" class="btn btn-primary" ng-click="ok()">{{'SETTING.SAVE' | translate}}</button> </div> </div>