aboutsummaryrefslogtreecommitdiff
path: root/cmd/sklad/container.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sklad/container.tmpl')
-rw-r--r--cmd/sklad/container.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sklad/container.tmpl b/cmd/sklad/container.tmpl
index 147e124..8118baf 100644
--- a/cmd/sklad/container.tmpl
+++ b/cmd/sklad/container.tmpl
@@ -36,7 +36,7 @@
</header>
<form method=post action="container?id={{ .Container.Id }}">
-<textarea name=description rows=5>
+<textarea name=description rows="{{ max 5 (lines .Container.Description) }}">
{{ .Container.Description }}
</textarea>
<footer>