diff options
author | xengineering <me@xengineering.eu> | 2023-04-22 20:28:54 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-22 20:28:54 +0200 |
commit | 13542dd8073ee48aa25ef4958fd2b2da5d848092 (patch) | |
tree | 5b9f507530ca346d355d0ae88a9a95ab3945fa0b /data | |
parent | 1dec0af24f22755e3d6debecaa8635dcab918698 (diff) | |
download | ceres-13542dd8073ee48aa25ef4958fd2b2da5d848092.tar ceres-13542dd8073ee48aa25ef4958fd2b2da5d848092.tar.zst ceres-13542dd8073ee48aa25ef4958fd2b2da5d848092.zip |
Update edit page
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/recipe_edit.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/data/templates/recipe_edit.html b/data/templates/recipe_edit.html index 9069d4a..af9eb88 100644 --- a/data/templates/recipe_edit.html +++ b/data/templates/recipe_edit.html @@ -10,12 +10,11 @@ <a href="/index.html">HOME</a> <a href="/add_recipes">add recipe</a> </nav> - <h1>Edit a recipe</h1> + <h1>{{.Title}}</h1> </header> <main> - <p>Recipe ID: {{.Id}}</p> - <pre contenteditable="true" id="editor"><code>{{.Text}}</code></pre> + <pre contenteditable="true" id="editor">{{.Text}}</pre> <button onclick="save()">save</button> <a href="/recipe?id={{.Id}}"><button>back</button></a> <a href="/recipe/confirm-deletion?id={{.Id}}"><button style="background-color:red">delete</button></a> |