feat: edit shopping list name
This commit is contained in:
parent
e8a202cb3d
commit
e8d34fde3f
4 changed files with 72 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ import (
|
|||
templ SpaceListDetailPage(space *model.Space, list *model.ShoppingList, items []*model.ListItem) {
|
||||
@layouts.Space(list.Name, space) {
|
||||
<div class="space-y-4">
|
||||
<h1 class="text-2xl font-bold">{ list.Name }</h1>
|
||||
@shoppinglist.ListNameHeader(space.ID, list)
|
||||
<form
|
||||
hx-post={ "/app/spaces/" + space.ID + "/lists/" + list.ID + "/items" }
|
||||
hx-target="#items-container"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue