aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-15 10:52:14 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-15 10:54:27 +0200
commitf8bb344aabc5b5290b8137734373366e4ad252c7 (patch)
tree69153517bdeba36c9ab9b4f1fe357ea9b664b4b4
parent0b32fa576fe3317acd260e0980b492bbafd7fd5a (diff)
downloadsklad-f8bb344aabc5b5290b8137734373366e4ad252c7.tar.gz
sklad-f8bb344aabc5b5290b8137734373366e4ad252c7.tar.xz
sklad-f8bb344aabc5b5290b8137734373366e4ad252c7.zip
sklad: use textarea placeholder also for editing
-rw-r--r--cmd/sklad/container.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/sklad/container.tmpl b/cmd/sklad/container.tmpl
index 8118baf..28fcc42 100644
--- a/cmd/sklad/container.tmpl
+++ b/cmd/sklad/container.tmpl
@@ -36,9 +36,9 @@
</header>
<form method=post action="container?id={{ .Container.Id }}">
-<textarea name=description rows="{{ max 5 (lines .Container.Description) }}">
-{{ .Container.Description }}
-</textarea>
+<textarea name=description rows="{{ max 5 (lines .Container.Description) }}"
+ placeholder="Popis obalu nebo jeho obsahu">
+{{ .Container.Description }}</textarea>
<footer>
<div>
<label for=series>Řada:</label>