From 3891d728e8e380d9cf3855185b65db0fef81d84b Mon Sep 17 00:00:00 2001 From: Matt Barringer Date: Wed, 6 Feb 2013 21:27:15 +0100 Subject: [PATCH] Only show one month on the registration calendar --- app/views/conference_registration/register.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/conference_registration/register.html.haml b/app/views/conference_registration/register.html.haml index 45932b8b..b7e45e84 100644 --- a/app/views/conference_registration/register.html.haml +++ b/app/views/conference_registration/register.html.haml @@ -48,7 +48,7 @@ dateFormat: "yy-mm-dd", timeFormat: "HH:mm", showSecond: false, - numberOfMonths: 2, + numberOfMonths: 1, defaultDate: '#{@conference.start_date.yesterday.strftime('%Y-%m-%d')}', onSelect: function(selected) { $("#registration-departure-datepicker").datepicker("option","minDate", selected) @@ -59,7 +59,7 @@ dateFormat: "yy-mm-dd", timeFormat: "HH:mm", showSecond: false, - numberOfMonths: 2, + numberOfMonths: 1, defaultDate: '#{@conference.end_date.tomorrow.strftime('%Y-%m-%d')}', onSelect: function(selected) { $("#registration-arrival-datepicker").datepicker("option","maxDate", selected)