19 lines
380 B
HTML
19 lines
380 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Profiel{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Profiel</h2>
|
|
{% if user.is_authenticated %}
|
|
<p>Gebruikersnaam: {{ user.username }}</p>
|
|
|
|
<form action="/user/profile" method="post">
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" value="Bijwerken">
|
|
</form>
|
|
{% else %}
|
|
<p>Niet ingelogd</p>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|