<%= f.label :allow_no_logins_user, t("property_hire.allow_no_logins_user"), :class => "control-label muted" %>
<%= f.check_box :allow_no_logins_user %>
<%= f.label :calendar_type, t("property_hire.display_calendar_default"), :class => "control-label muted" %>
<%= f.check_box :calendar_type, {}, "0", "1" %>
<%= f.label :auto_approve, t("property_hire.auto_approve"), :class => "control-label muted" %>
<%= f.check_box :auto_approve %>
<%= f.label :disable_content_page, t("property_hire.disable_content_page"), :class => "control-label muted" %>
<%= f.check_box :disable_content_page %>
<%= f.label :disable_view_calendar_page, t("property_hire.disable_view_calendar_page"), :class => "control-label muted" %>
<%= f.check_box :disable_view_calendar_page %>
<%= f.label :carousel_image_width, t("property_hire.default_carousel_image_width"), :class => "control-label muted" %>
<%= f.text_field :carousel_image_width %>
<%= f.label :default_time_settings, t("property_hire.default_time_settings"), :class => "control-label muted" %>
<% default_time_settings = f.object.default_time_settings %>
<% setting_count = 0 %>
<% if default_time_settings %>
<% default_time_settings.each_with_index do |setting,j| %>
<%= f.fields_for :property_day_settings do |f| %>
<%= f.fields_for setting_count.to_s, setting do |f| %>
<%= render :partial => "time_form", :locals=>{:key=>j,:day=>0,:f=>f} %>
<% setting_count += 1 %>
<% end %>
<% end %>
<% end %>
<% end %>
<%=t(:add)%>