Last active
August 29, 2015 14:11
-
-
Save digitalmio/9d37c9291a00c8e1c373 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form name="addForm" novalidate> | |
| <div> | |
| <label for="firstname">Donor First Name</label> | |
| <input type="text" id="firstname" ng-model="firstname" name="firstname" required /> | |
| <div ng-if="addForm.firstname.$pristine == false || addForm.firstname.$untouched == false" ng-messages="addForm.firstname.$error" ng-messages-include="error-messages"></div> | |
| </div> | |
| <button ng-disabled="addForm.$valid == false" ng-click="action(addForm)">Save and go to overview</button> | |
| </form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment