%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %>
Select the dates you want the scheduler to consider non-working days.
dateUrl='<%= edit_calendar_path(@copy_id, :list => "nonwork_days", :copy => true) %>'
<% elsif @calendar.new_record? %>
dateUrl='<%= new_calendar_path(@calendar, :list => "nonwork_days") %>'
<% else %>
dateUrl='<%= edit_calendar_path(@calendar, :list => "nonwork_days") %>'
<% end %>
dataField="nonwork_date"
ctldisabled="<%= @view_only %>"
idField="id"
jsonRoot="items"
startDate="<%= @first_day_of_year %>"
layoutConfig="{columns:4}"
cls="full-year-calendar">