aboutsummaryrefslogtreecommitdiffstats
path: root/view/field_yesno.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-07-06 14:19:03 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-07-06 14:19:03 +0200
commit2c2df90dc0d5eef066a4f6a2613f59f697005411 (patch)
tree177e969fd3df78cf8a570ced60193d751ce1591b /view/field_yesno.tpl
parente7834e60f872f91954266a7bcc2b5adda3df8d00 (diff)
downloadvolse-hubzilla-2c2df90dc0d5eef066a4f6a2613f59f697005411.tar.gz
volse-hubzilla-2c2df90dc0d5eef066a4f6a2613f59f697005411.tar.bz2
volse-hubzilla-2c2df90dc0d5eef066a4f6a2613f59f697005411.zip
Add missing files from previus checkin
Diffstat (limited to 'view/field_yesno.tpl')
-rw-r--r--view/field_yesno.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/field_yesno.tpl b/view/field_yesno.tpl
new file mode 100644
index 000000000..5d4a775c2
--- /dev/null
+++ b/view/field_yesno.tpl
@@ -0,0 +1,13 @@
+ <div class='field yesno'>
+ <label for='id_$field.0'>$field.1</label>
+ <div class='onoff' id="id_$field.0_onoff">
+ <input type="hidden" name='$field.0' id='id_$field.0' value="$field.2">
+ <a href="#" class='off'>
+ {{ if $field.4 }}$field.4.0{{ else }}OFF{{ endif }}
+ </a>
+ <a href="#" class='on'>
+ {{ if $field.4 }}$field.4.1{{ else }}ON{{ endif }}
+ </a>
+ </div>
+ <span class='field_help'>$field.3</span>
+ </div>