tellform/public/modules/users/views/settings/edit-profile.client.view.html

37 lines
1.6 KiB
HTML
Raw Normal View History

2015-06-30 19:42:02 +00:00
<section class="row auth" data-ng-controller="SettingsController">
2015-06-29 22:51:29 +00:00
<h3 class="col-md-12 text-center">Edit your profile</h3>
<div class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6">
<form name="userForm" data-ng-submit="updateUserProfile(userForm.$valid)" class="signin form-horizontal" autocomplete="off">
<fieldset>
2015-07-02 02:49:35 +00:00
<div data-ng-show="success" class="text-center text-success">
<strong>Profile Saved Successfully</strong>
</div>
<div data-ng-show="error" class="text-center text-danger">
Couldn't Save your Profile.<br>
Error: <strong data-ng-bind="error"></strong>
</div>
2015-06-29 22:51:29 +00:00
<div class="form-group">
<label for="firstName">First Name</label>
<input type="text" id="firstName" name="firstName" class="form-control" data-ng-model="user.firstName" placeholder="First Name">
</div>
2015-07-06 04:37:34 +00:00
<div class="form-group">
<label for="lastName">Last Name</label>
<input type="text" id="lastName" name="lastName" class="form-control" data-ng-model="user.lastName" placeholder="Last Name">
</div>
2015-06-29 22:51:29 +00:00
<div class="form-group">
<label for="lastName">Last Name</label>
<input type="text" id="lastName" name="lastName" class="form-control" data-ng-model="user.lastName" placeholder="Last Name">
</div>
<div class="form-group">
2015-07-06 04:37:34 +00:00
<label for="email">Email (also your username)</label>
2015-06-29 22:51:29 +00:00
<input type="email" id="email" name="email" class="form-control" data-ng-model="user.email" placeholder="Email">
</div>
<div class="text-center form-group">
2015-07-06 04:37:34 +00:00
<button type="submit" class="btn btn-large btn-primary">Update Profile</button>
2015-06-29 22:51:29 +00:00
</div>
2015-07-02 02:49:35 +00:00
2015-06-29 22:51:29 +00:00
</fieldset>
</form>
</div>
</section>