Skip to content

Instantly share code, notes, and snippets.

@neilmiddleton
Created March 11, 2014 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilmiddleton/9483222 to your computer and use it in GitHub Desktop.
Save neilmiddleton/9483222 to your computer and use it in GitHub Desktop.
<div ng-include="'/assets/application/_header.html'"></div>
<div class="container">
<form ng-submit="submit()">
<div class="form-group">
<input class="form-control" id="latitude" max="90" min="-90" ng-model="waypoint.latitude" placeholder="Latitude" required step="any" type="number">
</div>
<div class="form-group">
<input class="form-control" id="longitude" max="180" min="-180" ng-model="waypoint.longitude" placeholder="Longitude" required step="any" type="number">
</div>
<div class="form-group">
<button class="btn btn-primary" type="submit">Submit</button>
</div>
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment