2024-08-22 10:13:16 +02:00
|
|
|
{{ define "page:content" }}
|
2024-12-27 17:33:16 +01:00
|
|
|
<form method="POST" hx-post="{{.formAction}}" hx-target="{{.formTarget}}" style="margin-bottom: 10px;">
|
|
|
|
<div class="page-container">
|
2024-08-22 10:13:16 +02:00
|
|
|
<p>
|
|
|
|
<label for="notebook-title">Title</label>
|
2024-12-27 17:33:16 +01:00
|
|
|
<input name="Title" id="notebook-title" type="text" value="{{.notebook.Title}}" />
|
2024-08-22 10:13:16 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<label for="type-icon">Icon</label>
|
2024-12-27 17:33:16 +01:00
|
|
|
<input name="Icon" id="notebook-icon" type="text" value="{{.notebook.Icon}}"/>
|
2024-08-22 10:13:16 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<label for="type-description">Description</label>
|
2024-12-27 17:33:16 +01:00
|
|
|
<textarea name="Description" id="notebook-description" type="text" rows="5">{{.notebook.Description}}</textarea>
|
2024-08-22 10:13:16 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
2024-12-11 17:52:09 +01:00
|
|
|
<div id="footer-navbar">
|
2024-12-13 17:56:43 +01:00
|
|
|
<button type="submit" class="main" title="Save"><i class="bi bi-floppy"></i><span>Save</span></button>
|
2024-12-11 17:52:09 +01:00
|
|
|
<a class="button secondary" href="/notebooks" hx-get="/notebooks" hx-push-url="true" hx-target="#page-content" title="Back"><i class="bi bi-arrow-left-circle"></i><span>Back</span></a>
|
|
|
|
</div>
|
2024-08-22 10:13:16 +02:00
|
|
|
</form>
|
|
|
|
{{ end }}
|