edit_user.html 544 Bytes
Newer Older
Skia's avatar
Skia committed
1
{% extends "core/base.jinja" %}
Skia's avatar
Skia committed
2
3
4
5
6
7
8
9
10
11
12
13

{% block title %}
{% if profile %}
Edit {{ profile.get_display_name }}
{% endif %}
{% endblock %}

{% block content %}
{% if profile %}
<h3>Edit user</h3>
<p><a href="{% url 'core:user_profile' profile.id %}">Back to profile</a></p>
<p>You're editing the profile of <strong>{{ profile.get_display_name }}</strong></p>
Skia's avatar
Skia committed
14
15
16
17
18
<form action="{% url 'core:user_edit' profile.id %}" method="post">
    {% csrf_token %}
    {{ user_form }}
    <p><input type="submit" value="Save!" /></p>
</form>
Skia's avatar
Skia committed
19
20
{% endif %}
{% endblock %}