<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% fields_for @calendar do |form| %>
<%= form.label :name, t_label('common.name'), :class => "name-label item-label" %>
<%= form.text_field :name, :disabled => @view_only, :maxLength => 20, :class => "x-form-field name-field" %>

<%= t('common.name_caption') %>

<%= form.label :description, t_label('common.description'), :class => "description-label item-label" %>
<%= form.text_area :description, :disabled => @view_only, :maxLength => 50, :class => "x-form-field description-field" %>

<%= t('common.description_caption') %>

<%= form.label :tag, t_label('common.tags'), :class => "x-form-item label" %>
<%= tags_form_helper(form, "calendar[tag_list]", h(@calendar.tag_list), {:view_only => @view_only}) %>
<%= form.label :notify_before_expiration, t_label('calendars.notify_expiration'), :class => "notify-exiration-label item-label" %>
<%= form.check_box :notify_before_expiration, :disabled => @view_only, :class => "x-form-field notify-exiration-field" %>

<%= t('calendars.notify_expiration_caption') %>

<%= form.hidden_field :fiscal %> <% end %>