<% # (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% disabled_text = 'disabled="true"' if @view_only %> <% fields_for object_instance do |fields| %>
<%= fields.label :day_count_interval, t_label('.day_count_label'), :class => "x-form-item label run-every-label" %>

<%= t('.day_count_caption') %>

<%= fields.hidden_field :day_count_interval, :disabled => true %>
<%= fields.label :day_count_base_date, t_label('.day_count_base_date_label'), :class => "x-form-item label" %>

<%= t("#{object_key.to_s}s.edit_daily_interval.day_count_base_date_caption") %>

<%= fields.hidden_field(:day_count_base_date, :disabled => true) %>
<%= fields.label :day_count_base_time, t_label('.day_count_base_time_label'), :class => "x-form-item label" %>
<% if !@copy %> <%= fields.hidden_field(:day_count_base_time, :disabled => true) %> <% else %> <%= fields.hidden_field(:day_count_base_time, {:value => @source_job.day_count_base_time, :disabled => true}) %> <% end %>

<%= t("#{object_key.to_s}s.edit_daily_interval.day_count_base_time_caption") %>

  <% end %>