d120774 by Anon Ray at 2014-03-08 1
2
{% extends "layout.html" %}
3
{% block body %}
4
5
<h4> Update your profile details </h4>
6
7
<p class="text-muted"> Please fill in the details below and click update button </p>
8
9
<form role="form" method="POST" action="{{ url_for('user.profile') }}">
10
  <div class="form-group">
11
    <label for="username">Username</label>
12
    <input type="text" class="form-control" name="username" id="username"
13
    placeholder="Username you are going to use" value="{{ user.username}}">
14
  </div>
15
  <div class="form-group">
16
    <label class="control-label">Email</label>
17
    <div class="">
18
      <p class="form-control-static">{{ user.email }}</p>
19
    </div>
20
  </div>
21
  <div class="form-group">
22
    <label class="control-label">Account created </label>
23
    <div class="">
24
      <p class="form-control-static" id="user-created">
25
      {{ user.created }}
26
      </p>
27
    </div>
28
  </div>
48b7772 by Anon Ray at 2014-06-03 29
  <div class="form-group">
30
    <label class="control-label">Last Active</label>
31
    <div class="">
32
      <p class="form-control-static" id="last-active">
33
      {{ user.last_active }}
34
      </p>
35
    </div>
36
  </div>
d120774 by Anon Ray at 2014-03-08 37
  <button type="submit" class="btn btn-primary">Update</button>
38
</form>
39
40
{% endblock %}