19 lines
378 B
HTML
19 lines
378 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}KeRS - Profile{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Profile</h1>
|
|
{% if user.is_authenticated %}
|
|
<p>Username: {{ user.username }}</p>
|
|
|
|
<form action="/user/profile" method="post">
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
{% else %}
|
|
<p>Not logged in</p>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|