Add contextual variables and update references

This commit is contained in:
gconsidine
2017-06-20 10:02:47 -04:00
parent 2c98294035
commit f11aef01ef
17 changed files with 349 additions and 216 deletions

View File

@@ -38,14 +38,14 @@ function atFormActionController ($state) {
vm.setCancelDefaults = () => {
scope.text = 'CANCEL';
scope.fill = 'Hollow';
scope.color = 'white';
scope.color = 'default';
scope.action = () => $state.go('^');
};
vm.setSaveDefaults = () => {
scope.text = 'SAVE';
scope.fill = '';
scope.color = 'green';
scope.color = 'success';
scope.action = () => form.submit();
};
}