Created
December 3, 2015 23:26
-
-
Save mekhami/a9b00aac4c61e0fc1b94 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
| <div id="confirm-form" class="row"> | |
| <div class="col-sm-8 col-sm-offset-2 text-center"> | |
| <form> | |
| <div class="form-group"> | |
| <!-- BIND THIS VALUE TO formData.text IN ANGULAR --> | |
| <input type="text" class="form-control input-lg text-center" placeholder="Enter your full name" ng-model="formData.name" ng-value="rsvp.name"> | |
| <h4>{{rsvp.email}}</h4> | |
| <input type="text" class="form-control input-lg text-center" placeholder="Enter your Email address" ng-model="formData.email" value="{{ rsvp.email }}"> | |
| <h3>Attending?</h3> | |
| <label>True | |
| <input type="radio" class="form-control input-lg text-center" ng-model="formData.attending" ng-value="true"> | |
| </label> | |
| <label>False | |
| <input type="radio" class="form-control input-lg text-center" ng-model="formData.attending" ng-value="false"> | |
| </label> | |
| </div> | |
| <button type="submit" class="btn btn-primary btn-lg" ng-click="fetchRsvp()">Add</button> | |
| </form> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment