From: Hypolite Petovan Date: Sun, 2 Oct 2016 19:21:20 +0000 (-0400) Subject: Improve field_checkbox.tpl X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4021109696b9fe7d310e7a0ff7d918c2ad800a5f;p=friendica.git 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 --- 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 @@ -
- +
+ +