summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-02-27 19:36:31 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-02-27 19:36:31 +0100
commitdf00e940c3b2c01737cee11c3b1646a90b3311a2 (patch)
treec92cf6034cf2316acda1b48859320bfa007bb41b
parente1d5664f696a2f33a34a63e62aa8de05388f8574 (diff)
barform: default value for want_msg
-rw-r--r--templates/barform.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/barform.html.ep b/templates/barform.html.ep
index 0e0c793..62c8bda 100644
--- a/templates/barform.html.ep
+++ b/templates/barform.html.ep
@@ -1,3 +1,6 @@
+% if (not defined param('want_msg')) {
+% param(want_msg => 0);
+% }
%= form_for bar => begin
%= radio_button 'want_msg' => 0
Allgemeiner Bargraph: