Created
September 9, 2015 09:06
-
-
Save kis/6d01890dc673f36b4a7b to your computer and use it in GitHub Desktop.
form
This file contains 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 class="form-horizontal" name="videoForm" ng-submit="saveVideo()" novalidate> | |
<div class="modal-header"> | |
<h3 class="modal-title">Add Video</h3> | |
</div> | |
<div class="modal-body"> | |
<div class="form-group"> | |
<label class="col-sm-4 control-label">Video Title</label> | |
<div class="col-sm-6"> | |
<input type="text" ng-model="video.title" class="form-control" placeholder="Video Title" required> | |
</div> | |
</div> | |
<div class="form-group"> | |
<label class="col-sm-4 control-label">Video URL</label> | |
<div class="col-sm-6"> | |
<input type="text" ng-pattern="patterns.url" ng-model="video.url" class="form-control" placeholder="Video URL" required> | |
</div> | |
</div> | |
</div> | |
<div class="modal-footer"> | |
<button class="btn btn-primary" type="submit">Save</button> | |
<button class="btn btn-default" type="button" ng-click="$dismiss()">Cancel</button> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment