1234567891011121314151617 |
- <div ng-controller="CustomformCtrl">
- <!--{{title}}-->
- <form ng-submit="vm.submit(vm.model,'expand-right')">
- <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length">
- <div></div>
- <div class="matrow">
- <div class="col-xs-12 margin-top-30 margin-bottom-30">
- <button type="close" class="btn btn-primary pull-right margin-right-10" ng-click="closeModel()">关闭</button>
- <button type="button" class=" btn btn-primary" ng-click="save(vm.model)" ng-if="close">保存</button>
- <button type="submit" class="btn btn-primary pull-right margin-right-10" ng-disabled="ldloading.expand_right" ladda="ldloading.expand_right" data-style="expand-right">提交</button>
- <!-- <button type="button" ladda="ldloading.sm" class="btn btn-default ladda-button" ng-click="vm.options.resetModel()" translate="form.button.RESET" ng-if="Reset">Reset</button> -->
- </div>
- </div>
- </formly-form>
- </form>
- </div>
- <!-- ng-disabled="disablebton" -->
|