created html template for Detail View of a Widget User's name, department, and home unit

parent b8e1e8c6
{% extends 'base.html' %}
{% load static %}
{% block title %} {{ user.last_name }}, {{ user.first_name }} {% endblock %}
{% block content %}
<h1>{{ user.last_name }} {{ user.middle_name }} {{ user.first_name }}</h1>
<h2>{{ user.department.dept_name }}</h2>
<h3>{{ user.department.home_unit }}</h3>
<form action="./edit">
<button type="submit">Edit Widget User</button>
</form>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment