{% extends 'generic/object.html' %} {% load i18n %} {% load helpers %} {% load render_table from django_tables2 %} {% block title %}{% trans "Permission" %} {{ object.name }}{% endblock %} {% block subtitle %}{% endblock %} {% block content %}
{% trans "Name" %} | {{ object.name }} |
---|---|
{% trans "Description" %} | {{ object.description|placeholder }} |
{% trans "Enabled" %} | {% checkmark object.enabled %} |
{% trans "View" %} | {% checkmark object.can_view %} |
---|---|
{% trans "Add" %} | {% checkmark object.can_add %} |
{% trans "Change" %} | {% checkmark object.can_change %} |
{% trans "Delete" %} | {% checkmark object.can_delete %} |
{{ object.constraints|json }}{% else %} None {% endif %}