aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-15 23:31:13 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-15 23:31:13 +0200
commit2bd4f5921cb91bef2f39b231ac57a5fba5b782d2 (patch)
treea362d1e7e9edbebcdd0f57924fd5bf482a05403b /cmd
parent1713bd1f06f3715c0cc6a7cda78bf27474765ed4 (diff)
downloadsklad-2bd4f5921cb91bef2f39b231ac57a5fba5b782d2.tar.gz
sklad-2bd4f5921cb91bef2f39b231ac57a5fba5b782d2.tar.xz
sklad-2bd4f5921cb91bef2f39b231ac57a5fba5b782d2.zip
sklad: open label printing in a new window/tab
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sklad/container.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/sklad/container.tmpl b/cmd/sklad/container.tmpl
index 28fcc42..b3ce98f 100644
--- a/cmd/sklad/container.tmpl
+++ b/cmd/sklad/container.tmpl
@@ -27,7 +27,7 @@
<small>&laquo; <a href="container?id={{ . }}">{{ . }}</a></small>
{{ end }}
</h2>
- <form method=post action="label?id={{ .Container.Id }}">
+ <form method=post action="label?id={{ .Container.Id }}" target=_blank>
<input type=submit value="Vytisknout štítek">
</form>
<form method=post action="container?id={{ .Container.Id }}&amp;remove">
@@ -99,7 +99,7 @@
<small>&laquo; <a href="container?id={{ . }}">{{ . }}</a></small>
{{ end }}
</h3>
- <form method=post action="label?id={{ .Id }}">
+ <form method=post action="label?id={{ .Id }}" target=_blank>
<input type=submit value="Vytisknout štítek">
</form>
<form method=post action="container?id={{ .Id }}&amp;remove">