20 lines
381 B
HTML
20 lines
381 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 }}
|
||
|
<button type="submit">Bijwerken</button>
|
||
|
</form>
|
||
|
{% else %}
|
||
|
<p>Niet ingelogd</p>
|
||
|
{% endif %}
|
||
|
{% endblock %}
|
||
|
|