fix(feedback): inline edit + live status change without reload
- Replaced broken status_aendern (missing status_choices in response)
with a single eintrag_bearbeiten view that always returns the full
partial context
- eintrag_zeile.html is now a <tbody x-data="{ editing: false }"> with
two rows: display row + collapsible edit form
- Click anywhere on a row to expand the edit form; @click.stop on the
status cell prevents accidental toggles
- Status dropdown in the display row posts via HTMX and swaps the whole
<tbody> — no page reload needed
- Edit form covers all fields: titel, beschreibung, kategorie,
dringlichkeit, status, bewertung, entscheidung
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
40739c1bfd
commit
40e70e64f0
4 changed files with 145 additions and 56 deletions
|
|
@ -8,5 +8,5 @@ urlpatterns = [
|
|||
path('modal/', views.modal, name='modal'),
|
||||
path('', views.submit, name='submit'),
|
||||
path('backlog/', views.backlog, name='backlog'),
|
||||
path('backlog/<int:pk>/status/', views.status_aendern, name='status_aendern'),
|
||||
path('backlog/<int:pk>/bearbeiten/', views.eintrag_bearbeiten, name='eintrag_bearbeiten'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue