diff options
author | Přemysl Janouch <p@janouch.name> | 2019-04-15 23:31:13 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2019-04-15 23:31:13 +0200 |
commit | 2bd4f5921cb91bef2f39b231ac57a5fba5b782d2 (patch) | |
tree | a362d1e7e9edbebcdd0f57924fd5bf482a05403b | |
parent | 1713bd1f06f3715c0cc6a7cda78bf27474765ed4 (diff) | |
download | sklad-2bd4f5921cb91bef2f39b231ac57a5fba5b782d2.tar.gz sklad-2bd4f5921cb91bef2f39b231ac57a5fba5b782d2.tar.xz sklad-2bd4f5921cb91bef2f39b231ac57a5fba5b782d2.zip |
sklad: open label printing in a new window/tab
-rw-r--r-- | cmd/sklad/container.tmpl | 4 |
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>« <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 }}&remove"> @@ -99,7 +99,7 @@ <small>« <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 }}&remove"> |