Skip to content

Commit

Permalink
Fixing?
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Davis committed May 2, 2014
1 parent a1fb293 commit c288bbc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var app = angular.module('vinzApp', [
controller: 'UsersCtrl'
})
.when('/users/:id', {
templateUrl: 'static/views/user_detail.html',
templateUrl: '/static/views/user_detail.html',
controller: 'UserDetailCtrl'
})
.when('/servers/:id', {
Expand Down
21 changes: 0 additions & 21 deletions app/views/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,6 @@ <h4 class="modal-title" id="newUserModalLabel">New User</h4>
<div class="modal-body">
<form class="simple-form form-group" novalidate>
<label>Username</label>
<<<<<<< HEAD
<input type="text" name='username' ng-model="newUser.username" class="form-control" placeholder="Enter username" required ></input>

<label>Password</label>
<input type="password" name ='password' ng-model="newUser.password" class="form-control" placeholder="Enter a password" required></input>

<label>Verify Password</label>
<input type="password" name='verify_password' ng-model="newUser.verify_password" ng-model-options="{ updateOn: 'blur' }"class="form-control" placeholder="Re-enter your password" data-match="newUser.password" required ></input>
<span ng-show="verify.verify_password.$error.match">Fields do not match!</span>

<label>First Name</label>
<input type="text" name='first_name' ng-model="newUser.first_name" class="form-control" placeholder="Enter your first name" required ></input>

<label>Last Name</label>
<input type="text" name='last_name' ng-model="newUser.last_name" class="form-control" placeholder="Enter your last name" required ></input>

<label>Email</label>
<input type="email" name='email' ng-model="newUser.email" class="form-control" placeholder="Enter your email address" required ></input>
</form>
=======
<input type="text" ng-model="newUser.username" class="form-control"></input>

<label>Password</label>
Expand All @@ -83,7 +63,6 @@ <h4 class="modal-title" id="newUserModalLabel">New User</h4>
<label>Email</label>
<input type="email" ng-model="newUser.email" class="form-control"></input>
</div>
>>>>>>> 27b136ece7ed326bc83ae6678e2c73f40abe622f
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
Expand Down
7 changes: 1 addition & 6 deletions server/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,7 @@
<script src="/static/js/bootstrap.js"></script>
<script src="/static/js/app.js"></script>

<script>
var currentUser = {
"id": "{{g.user.id}}"
}
app.value("user", currentUser);
</script>


</body>
</html>

0 comments on commit c288bbc

Please sign in to comment.