<!doctype html>
<html ng-app="myApp">
<head>
  <title>Logowanie użytkowników i sesje</title>
  <link rel="stylesheet" type="text/css" 
      href="/static/css/styles.css" />
</head>
<body>
  <div class="form-container" ng-controller="myController">
    <p class="form-header">Profil użytkownika</p>
    <form method="POST" action="/user/update">
       <label>Nazwa użytkownika:</label>
         <input type="text" name="username" 
                ng-model="user.username" disabled><br>
       <label>E-mail:</label>
         <input type="email" name="email" 
                ng-model="user.email"><br>
       <label>Ulubiony kolor:</label>
         <input type="text" name="color" 
                ng-model="user.color"><br>
       <input type="submit" value="Zapisz">
    </form>       
  </div>
  <form method="POST" action="/user/delete">
    <input type="submit" value="Usuń">
  </form>
  <hr><%= msg %>
  <script src="http://code.angularjs.org/1.2.9/angular.min.js"></script>
  <script src="/static/js/my_app.js"></script>
</body>
</html>