From 4021109696b9fe7d310e7a0ff7d918c2ad800a5f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 2 Oct 2016 15:21:20 -0400 Subject: [PATCH] Improve field_checkbox.tpl - Adds a hidden field to ensure the checkbox item will have a value during save. - Fix quotes for HTML attribute values --- view/templates/field_checkbox.tpl | 9 +++++---- view/theme/decaf-mobile/templates/field_checkbox.tpl | 11 ++++++----- view/theme/frio/templates/field_checkbox.tpl | 5 +++-- view/theme/frost-mobile/templates/field_checkbox.tpl | 11 ++++++----- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/view/templates/field_checkbox.tpl b/view/templates/field_checkbox.tpl index 06796376b..3d4a4284b 100644 --- a/view/templates/field_checkbox.tpl +++ b/view/templates/field_checkbox.tpl @@ -1,5 +1,6 @@ -
- - - {{$field.3}} +
+ + + + {{$field.3}}
diff --git a/view/theme/decaf-mobile/templates/field_checkbox.tpl b/view/theme/decaf-mobile/templates/field_checkbox.tpl index ddcc05aa5..4f094e089 100644 --- a/view/theme/decaf-mobile/templates/field_checkbox.tpl +++ b/view/theme/decaf-mobile/templates/field_checkbox.tpl @@ -1,7 +1,8 @@ - -
- -
- {{$field.3}} + +
+ + +
+ {{$field.3}}
diff --git a/view/theme/frio/templates/field_checkbox.tpl b/view/theme/frio/templates/field_checkbox.tpl index 112208c1d..106226923 100644 --- a/view/theme/frio/templates/field_checkbox.tpl +++ b/view/theme/frio/templates/field_checkbox.tpl @@ -1,6 +1,7 @@ -
- +
+ +