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

Commit

Permalink
utilize angular valid / email directive
Browse files Browse the repository at this point in the history
  • Loading branch information
enkodellc committed Jun 4, 2014
1 parent d4a8774 commit 9221ee9
Showing 1 changed file with 3 additions and 3 deletions.
@@ -1,7 +1,7 @@
<section class="row" data-ng-controller="SettingsController">
<h3 class="col-md-12 text-center">Edit your profile</h3>
<div class="col-xs-offset-2 col-xs-8 col-md-offset-5 col-md-2">
<form data-ng-submit="updateUserProfile()" class="signin form-horizontal" autocomplete="off">
<form name="userForme" data-ng-submit="userForm.$valid && updateUserProfile()" class="signin form-horizontal" autocomplete="off">
<fieldset>
<div class="form-group">
<label for="firstName">First Name</label>
Expand All @@ -13,7 +13,7 @@ <h3 class="col-md-12 text-center">Edit your profile</h3>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="text" id="email" name="email" class="form-control" data-ng-model="user.email" placeholder="Email">
<input type="email" id="email" name="email" class="form-control" data-ng-model="user.email" placeholder="Email">
</div>
<div class="form-group">
<label for="username">Username</label>
Expand All @@ -31,4 +31,4 @@ <h3 class="col-md-12 text-center">Edit your profile</h3>
</fieldset>
</form>
</div>
</section>
</section>

0 comments on commit 9221ee9

Please sign in to comment.