You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/01/08 19:02:40 UTC
[10/10] allura git commit: [#8024] tweak checkbox value so it stays
checked, if you get an error on submitting
[#8024] tweak checkbox value so it stays checked, if you get an error on submitting
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/d46244c7
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/d46244c7
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/d46244c7
Branch: refs/heads/master
Commit: d46244c7314646c9692ed7573f918d4612fb8a7f
Parents: c2f7993
Author: Dave Brondsema <da...@brondsema.net>
Authored: Fri Jan 8 13:01:53 2016 -0500
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Fri Jan 8 13:01:53 2016 -0500
----------------------------------------------------------------------
.../templates/site_admin_site_notifications_create_update.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/d46244c7/Allura/allura/templates/site_admin_site_notifications_create_update.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/site_admin_site_notifications_create_update.html b/Allura/allura/templates/site_admin_site_notifications_create_update.html
index e02284e..0d3c730 100644
--- a/Allura/allura/templates/site_admin_site_notifications_create_update.html
+++ b/Allura/allura/templates/site_admin_site_notifications_create_update.html
@@ -71,7 +71,7 @@
<div>
<label>Active</label>
<div class="input">
- <input type="checkbox" name="active" value="yes" {%- if not form_values|length -%} checked {%- elif form_values.get('active') == 'True' -%} checked {% endif %}>
+ <input type="checkbox" name="active" value="True" {%- if not form_values|length -%} checked {%- elif form_values.get('active') == 'True' -%} checked {% endif %}>
</div>
{{error('active')}}
</div>