-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d5f697
commit 5c7a775
Showing
7 changed files
with
128 additions
and
3 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
.sqlx/query-2ba6f5558e04ca1eb9dee3e9c528271da22595b60016a81d8a18f7c6d30011a4.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{% import "_form.html" as form %} | ||
{% extends "_layout.html" %} | ||
|
||
{% block content %} | ||
<form | ||
action="/lists/{{ list_id }}/edit_title" | ||
method="POST" | ||
class="flex flex-col max-w-xl mx-4 mb-4 grow" | ||
> | ||
<header class="mt-3 mb-4"> | ||
<h1 class="text-xl font-bold">Rename list</h1> | ||
</header> | ||
|
||
<label for="title">New title</label> | ||
{% call form::errors(errors, "title") %} | ||
<input | ||
type="text" | ||
name="title" | ||
required | ||
value="{{ input.title }}" | ||
class="rounded py-1.5 px-3 mt-2 bg-neutral-900" | ||
/> | ||
|
||
{% call form::errors(errors, "root") %} | ||
|
||
<button | ||
type="submit" | ||
class="bg-neutral-300 py-1.5 px-3 text-neutral-900 rounded mt-4 self-end" | ||
> | ||
Save Changes | ||
</button> | ||
</form> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters