add save button to config page

configView directives can update the appModel object.  We need
a save button to persist the updates.
This commit is contained in:
Anthony Woods 2016-01-21 02:21:30 +08:00
parent 92a085550e
commit 9e121ef0c8

View File

@ -98,6 +98,8 @@
<div class="simple-box-body">
<div ng-if="ctrl.appModel.appId">
<app-config-view app-model="ctrl.appModel"></app-config-view>
<div class="clearfix"></div>
<button type="submit" class="btn btn-success" ng-click="ctrl.update()">Save</button>
</div>
</div>
</section>