Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- view
- <div class='left'>
- </div>
- <div class='right'>
- <%= render :partial => "calendar", :locals => { :month => @timesheet.work_month.month, :year => @timesheet.work_month.year, :holidays => @holidays } %>
- </div>
- _calendar
- <%= calendar(:year => year, :month => month, :holidays => holiday_days, :first_day_of_week => 1) %> # this one line will print the whole calendar
Add Comment
Please, Sign In to add comment