{% extends 'dashboard/base.html' %} {% block title %}{{ action }} Staff{% endblock %} {% block page_title %}{{ action }} Staff Member{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% csrf_token %}
Personal Information
{% if action == 'Create' %}
{% endif %}
Role
{% for val, label in role_choices %} {% endfor %}

Selecting a role auto-fills the permissions below. You can then customise individually.

Permissions
{% for field, label, icon in perm_fields %} {% endfor %}
Profile Photo
{% if staff_profile and staff_profile.avatar %}
{% endif %}
JPG or PNG, max 2MB
{% if action == 'Edit' %}
Account Status
{% endif %}
Cancel
{% endblock %} {% block extra_js %} {% endblock %}