blob: 224c838e3ec361628ece0f18733abb4f95aabcbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{% extends "base.html" %}
{% block content %}
<div id="pageRow" class="container">
<div class="row">
<div id="page" class="span10">
<div>
<h1>Gentoo Developer Information</h1>
<h3>Change your Gentoo related details</h3>
{% if user_profile_info.is_developer %}
<div class="form well">
<form action="." method="POST">{% csrf_token %}
<div class="row-fluid">
{{ gentoo_account_settings.developer_bug.label_tag }}
<input name="developer_bug" type="text" value="{{ user_profile_info.developer_bug.0 }}" /> {{ gentoo_account_settings.developer_bug.errors|striptags }}
</div>
<div class="row-fluid">
{{ gentoo_account_settings.mentor.label_tag }}
<input name="mentor" type="text" value="{{ user_profile_info.mentor.0 }}" /> {{ gentoo_account_settings.mentor.errors|striptags }}
</div>
<div class="row-fluid">
{{ gentoo_account_settings.gentoo_join_date.label_tag }}
<input name="gentoo_join_date" type="text" value="{{ user_profile_info.gentoo_join_date.0 }}" /> {{ gentoo_account_settings.gentoo_join_date.errors|striptags }}
</div>
<div class="row-fluid">
{{ gentoo_account_settings.gentoo_retire_date.label_tag }}
<input name="gentoo_retire_date" type="text" value="{{ user_profile_info.gentoo_retire_date.0 }}" /> {{ gentoo_account_settings.gentoo_retire_date.errors|striptags }}
</div>
<div class="row-fluid">
{{ gentoo_account_settings.ssh_key.label_tag }} {{ gentoo_account_settings.ssh_key.errors|striptags }}
{{ gentoo_account_settings.ssh_key }}
</div>
<div class="row-fluid buttons">
<input class="btn btn-primary" type="submit" value="Update" />
</div>
</form>
</div>{% endif %}
</div>
</div>
{% endblock %}
{# vim:se fileencoding=utf8 et ts=4 sts=4 sw=4 ft=htmldjango : #}
|