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 %}
|
|
|
|
<p>Username: {{ username }}</p>
|
|
|
|
<label>Student number</label>
|
|
|
|
<input type="text" value="{{ user.student_number }}"/>
|
|
|
|
<label>Real name</label>
|
|
|
|
<input type="text" value="{{ user.real_name }}">
|
|
|
|
<input type="submit" value="Save"/>
|
|
|
|
{% else %}
|
|
|
|
<p>Not logged in</p>
|
|
|
|
{% endif %}
|
2020-07-22 05:44:49 +02:00
|
|
|
{% endblock %}
|
2020-07-22 05:03:01 +02:00
|
|
|
|