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 06796376b6..3d4a4284b6 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 ddcc05aa51..4f094e0893 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 112208c1da..1062269236 100644 --- a/view/theme/frio/templates/field_checkbox.tpl +++ b/view/theme/frio/templates/field_checkbox.tpl @@ -1,6 +1,7 @@ -
- +
+ +