{% extends 'base.html' %} {% block content %}

Welcome, {{ user.nama }}, role {{ user.role }}

{% if user.role == 'admin' and is_staff %}
Admin Dashboard

{% endif %} {% endblock %}