summaryrefslogtreecommitdiff
path: root/view/html
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-04-22 21:51:21 +0200
committerxengineering <me@xengineering.eu>2024-05-09 12:07:48 +0200
commitc5e7551dc2da9798ff51d91aa238098f5ac4605f (patch)
tree70c6f214d8fef75d92b073f780dc4f6fb90977e5 /view/html
parent0455da359b9fe36bd6808b7e506fe24e48257bea (diff)
downloadceres-c5e7551dc2da9798ff51d91aa238098f5ac4605f.tar
ceres-c5e7551dc2da9798ff51d91aa238098f5ac4605f.tar.zst
ceres-c5e7551dc2da9798ff51d91aa238098f5ac4605f.zip
view: Enforce recipe titles
In addition to the enforcement of titles in the model package the HTML form field for the title is set to 'required' to give the user feedback via the browser that a title is required.
Diffstat (limited to 'view/html')
-rw-r--r--view/html/recipe-edit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/html/recipe-edit.html b/view/html/recipe-edit.html
index b5fea1d..3925293 100644
--- a/view/html/recipe-edit.html
+++ b/view/html/recipe-edit.html
@@ -13,7 +13,7 @@
<p>
<label>Title</label>
- <input type="text" name="title" value="{{.Title}}">
+ <input type="text" name="title" value="{{.Title}}" required>
</p>
<p>