From e7a68eaef002a9263d20076bcbe6b4c93378255f Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 5 Feb 2015 21:01:02 -0800 Subject: style the checkboxes in the event form --- view/js/mod_events.js | 2 +- view/tpl/event_form.tpl | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'view') diff --git a/view/js/mod_events.js b/view/js/mod_events.js index 0ce128fcc..d4dc9b585 100644 --- a/view/js/mod_events.js +++ b/view/js/mod_events.js @@ -2,7 +2,7 @@ $(document).ready( function() { showHideFinishDate(); }); function showHideFinishDate() { - if( $('#event-nofinish-checkbox').is(':checked')) + if( $('#id_nofinish').is(':checked')) $('#event-finish-wrapper').hide(); else $('#event-finish-wrapper').show(); diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 1cea156dd..444e77df7 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -24,7 +24,12 @@

-
{{$n_text}}
+
+ +
+
+
@@ -35,8 +40,7 @@
- -
{{$a_text}}
+{{include file="field_checkbox.tpl" field=$adjust}}
-- cgit v1.2.3