index.html 1.1 KB

1234567891011121314151617
  1. <div ng-controller="CustomformCtrl">
  2. <!--{{title}}-->
  3. <form ng-submit="vm.submit(vm.model,'expand-right')">
  4. <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length">
  5. <div></div>
  6. <div class="matrow">
  7. <div class="col-xs-12 margin-top-30 margin-bottom-30">
  8. <button type="close" class="btn btn-primary pull-right margin-right-10" ng-click="closeModel()">关闭</button>
  9. <button type="button" class=" btn btn-primary" ng-click="save(vm.model)" ng-if="close">保存</button>
  10. <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>
  11. <!-- <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> -->
  12. </div>
  13. </div>
  14. </formly-form>
  15. </form>
  16. </div>
  17. <!-- ng-disabled="disablebton" -->