Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
angular form $valid
Browse files Browse the repository at this point in the history
utilize angular dirty / valid / invalid data
  • Loading branch information
enkodellc committed Jun 4, 2014
1 parent 9db5e71 commit f51ccca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/modules/articles/views/edit-article.client.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h1>Edit Article</h1>
</div>
<div class="col-md-12">
<form class="form-horizontal" data-ng-submit="update()" novalidate>
<form name="articleForm" class="form-horizontal" data-ng-submit="articleForm.$valid && update()" novalidate>
<fieldset>
<div class="form-group">
<label class="control-label" for="title">Title</label>
Expand All @@ -26,4 +26,4 @@ <h1>Edit Article</h1>
</fieldset>
</form>
</div>
</section>
</section>

0 comments on commit f51ccca

Please sign in to comment.