<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% fields_for @job do |fields| %>
<%= label :job, :send_complete_snmp_trap, t_label('common.snmp_trap'), :class => "description-label item-label" %>
<%= fields.check_box :send_complete_snmp_trap, :disabled => @view_only, :class => "" %>

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

<%= label :job, :send_complete_email_log, t_label('common.send_joblog'), :class => "description-label item-label" %>
<%= fields.check_box :send_complete_email_log, :disabled => @view_only, :class => "" %>

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

<%= t('common.email') %>
<%= check_box_tag :use_complete_notification_list, '1', @job.complete_notification_list_public_list, {:disabled => @view_only, :class => ""} %>

<%= label :job, :complete_notification_list_name_label, " ", :class => "description-label item-label" %>
<%= fields.hidden_field :complete_notification_list_id, :disabled => true %> <%= fields.hidden_field :complete_notification_list_name, :disabled => true %> <%= hidden_field_tag :update_complete_notification_list, true %>

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

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

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

<%= label :jobs, :complete_status_users, t_label('common.add_user'), :class => "x-form-item label" %>

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

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

/>

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

<%= fields.label :email_subject_completed, t_label('common.custom_subject'), :class => "x-form-item label" %>
<%= fields.text_field :email_subject_completed, :disabled => @view_only, :maxLength => 256, :class => "x-form-field name-field" %>

<%= fields.label :email_body_completed, t_label('common.custom_text'), :class => "x-form-item label" %>
<%= fields.text_area :email_body_completed, :disabled => @view_only, :maxLength => 2048, :class => "x-form-field description-field", :style => "overflow:auto;height:80px;" %>

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

/>
<% end %>