umbral-admin 0.0.7

Auto-generated CRUD admin UI for umbral models.
Documentation
1
2
3
4
5
6
7
8
9
10
{#
  Sheet edit fragment — returned for HTMX requests to
  GET {{ admin_base }}/{table}/{id}/edit-sheet

  For full-page (non-HTMX) requests, changelist.html wraps this.
  password_field: optional column name that holds a password hash.
  When set, a "Change password" button appears instead of a raw input.
#}
{% from "admin/_macros/sheet.html" import sheet %}
{{ sheet("edit", model.name, model.table, instance_id, fields, error=error, password_field=password_field, m2m_fields=m2m_fields | default([]), inlines=inlines | default([])) }}