diff options
author | Přemysl Janouch <p@janouch.name> | 2019-04-15 10:52:14 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2019-04-15 10:54:27 +0200 |
commit | f8bb344aabc5b5290b8137734373366e4ad252c7 (patch) | |
tree | 69153517bdeba36c9ab9b4f1fe357ea9b664b4b4 | |
parent | 0b32fa576fe3317acd260e0980b492bbafd7fd5a (diff) | |
download | sklad-f8bb344aabc5b5290b8137734373366e4ad252c7.tar.gz sklad-f8bb344aabc5b5290b8137734373366e4ad252c7.tar.xz sklad-f8bb344aabc5b5290b8137734373366e4ad252c7.zip |
sklad: use textarea placeholder also for editing
-rw-r--r-- | cmd/sklad/container.tmpl | 6 |
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> |