From 9a4571b290780dce4d1b57ae16cca23620fc2826 Mon Sep 17 00:00:00 2001 From: differentreality Date: Thu, 11 Jul 2013 07:45:16 +0300 Subject: [PATCH] fix space --- 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 fd52e4aa..0304c80c 100644 --- a/app/views/conference_registration/register.html.haml +++ b/app/views/conference_registration/register.html.haml @@ -28,8 +28,8 @@ = f.input :other_special_needs, :label => "Any other special needs?", :input_html => {:rows => 2} - if @workshops.count > 0 - =f.inputs "Register to workshops" do - = f.input :events, :as => :check_boxes, :label => false, :collection => @workshops + =f.inputs "Register to workshops" do + = f.input :events, :as => :check_boxes, :label => false, :collection => @workshops = f.inputs "Travel Info" do = f.input :arrival, :as => :string, :input_html => {:value => (f.object.arrival.to_formatted_s(:db_without_seconds) unless f.object.arrival.nil?), :id => "registration-arrival-datepicker", :readonly => "readonly" }