layerindex-web/templates/layerindex/profile.html
Paul Eggleton 82c632ca2d Upgrade to Django 1.6+
I'd like to be upgrading to 1.8 but that causes problems with South, and
we're not quite ready to dispense with our existing migrations yet.

Part of the implementation for [YOCTO #9620].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-12 11:33:08 +12:00

52 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% load i18n %}
{% comment %}
layerindex-web - profile page template
Copyright (C) 2013 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details
{% endcomment %}
<!--
{% autoescape on %}
{% block title_append %} - profile{% endblock %}
{% endautoescape %}
-->
{% block content %}
{% autoescape on %}
<form method="post" action=".">
{% for hidden in form.hidden_fields %}
{{ hidden }}
{% endfor %}
{% for field in form.visible_fields %}
{% if field.errors %}
<div class="control-group alert alert-error">
{{ field.errors }}
{% else %}
<div class="control-group">
{% endif %}
<div class="control-label {% if field.required %}requiredlabel{% endif %}">
{{ field.label_tag }}
</div>
<div class="controls">
{{ field }}
</div>
</div>
{% endfor %}
<input type="submit" class="btn" value="{% trans 'Save' %}" />
<a class="btn" href="{% url 'frontpage' %}">{% trans 'Cancel' %}</a>
{% csrf_token %}
</form>
{% endautoescape %}
{% endblock %}