2012-12-16 08:31:21 +00:00
|
|
|
<!-- extend base layout -->
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2013-02-01 05:48:20 +00:00
|
|
|
<h1>{{ _('Edit Your Profile') }}</h1>
|
2012-12-16 08:40:47 +00:00
|
|
|
{% include 'flash.html' %}
|
|
|
|
<div class="well">
|
|
|
|
<form class="form-horizontal" action="" method="post" name="edit">
|
|
|
|
{{form.hidden_tag()}}
|
|
|
|
<div class="control-group{% if form.errors.post %} error{% endif %}">
|
2013-02-01 05:48:20 +00:00
|
|
|
<label class="control-label" for="nickname">{{ _('Your nickname:') }}</label>
|
2012-12-16 08:40:47 +00:00
|
|
|
<div class="controls">
|
|
|
|
{{ form.nickname(maxlength = 64, class = "span4") }}
|
2012-12-16 08:32:38 +00:00
|
|
|
{% for error in form.errors.nickname %}
|
2012-12-16 08:40:47 +00:00
|
|
|
<span class="help-inline">[{{error}}]</span><br>
|
2012-12-16 08:32:38 +00:00
|
|
|
{% endfor %}
|
2012-12-16 08:40:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group{% if form.errors.post %} error{% endif %}">
|
2013-02-01 05:48:20 +00:00
|
|
|
<label class="control-label" for="about_me">{{ _('About yourself:') }}</label>
|
2012-12-16 08:40:47 +00:00
|
|
|
<div class="controls">
|
|
|
|
{{ form.about_me(cols = 64, rows = 4, class = "span4") }}
|
|
|
|
{% for error in form.errors.about_me %}
|
|
|
|
<span class="help-inline">[{{error}}]</span><br>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2013-02-01 05:48:20 +00:00
|
|
|
<input class="btn btn-primary" type="submit" value="{{ _('Save Changes') }}">
|
2012-12-16 08:40:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2012-12-16 08:31:21 +00:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|