kers/users/templates/profile.html

20 lines
378 B
HTML
Raw Normal View History

2020-07-22 05:44:49 +02:00
{% extends "base.html" %}
2020-07-22 05:03:01 +02:00
2020-07-22 05:44:49 +02:00
{% block title %}KeRS - Profile{% endblock %}
{% block content %}
2020-07-22 14:06:16 +02:00
<h1>Profile</h1>
{% if user.is_authenticated %}
2020-07-22 16:06:04 +02:00
<p>Username: {{ user.username }}</p>
<form action="/user/profile" method="post">
{% csrf_token %}
{{ form }}
<input type="submit" value="Submit">
</form>
2020-07-22 14:06:16 +02:00
{% else %}
<p>Not logged in</p>
{% endif %}
2020-07-22 05:44:49 +02:00
{% endblock %}
2020-07-22 05:03:01 +02:00