aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/base/layout/field/mutable/boolean.tt
diff options
context:
space:
mode:
Diffstat (limited to 'share/skin/base/layout/field/mutable/boolean.tt')
-rw-r--r--share/skin/base/layout/field/mutable/boolean.tt18
1 files changed, 18 insertions, 0 deletions
diff --git a/share/skin/base/layout/field/mutable/boolean.tt b/share/skin/base/layout/field/mutable/boolean.tt
new file mode 100644
index 0000000..6d70f36
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/boolean.tt
@@ -0,0 +1,18 @@
+=extends field/mutable
+
+=for layout widget
+
+<input name="[% exists_event %]" type="hidden" value="[% exists_value %]" />
+[% call_next %]
+
+=for layout field_body
+
+value="1" [% is_checked %]
+
+=for layout is_checked_yes
+
+checked="checked"
+
+=for layout is_checked_no
+
+=cut