16 lines
652 B
Cheetah
16 lines
652 B
Cheetah
{{ define "page:content" }}
|
|
<form method="POST" hx-post="{{.formAction}}" hx-target="{{.formTarget}}">
|
|
<div class="page-container">
|
|
<p>
|
|
<label for="category-name">Name</label>
|
|
<input name="Name" id="category-name" type="text" value="{{.category.Name}}"/>
|
|
</p>
|
|
|
|
</div>
|
|
<div id="footer-navbar">
|
|
<button type="submit" class="main" title="Save"><i class="bi bi-floppy"></i><span>Save</span></button>
|
|
<a class="button secondary" href="/categories" hx-get="/categories" hx-push-url="true" hx-target="#page-content" title="Back"><i class="bi bi-arrow-left-circle"></i><span>Back</span></a>
|
|
</div>
|
|
</form>
|
|
{{ end }}
|