<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2012 %> <% button_id = "button_close_#{@sap_system_setting.id}" form_id = "edit_sap_system_settings_#{@sap_system_setting.id}" url = sap_system_setting_path @title = t('.dialog_title') @title = @title + ' ' + t('common.view_only_mode') if @view_only @title_section = @title @help_link_anchor = HELP_URL_CONFIG['product_info']['about_product'] %> <% form_for(@sap_system_setting, :html => {:id => form_id,:class => "edit_sap_system_setting",:autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %>
<% render(:layout => 'shared/edit_section',:locals => { :section_id => "settings-event-monitor",:section_title => t(".event_monitoring")}) do %>

<%= t_label('sap_system_settings.monitor_events_label') %>

<%= monitor_startup_text(@sap_system_setting.sap_event_read_back_type, @sap_system_setting.sap_event_read_back_value, @sap_system_setting.sap_event_read_back_period) %>

<% end %> <% render(:layout => 'shared/edit_section',:locals => { :section_id => "settings-event-monitor-history",:section_title => t(".event_monitor_history")}) do %>

<%= t_label "sap_system_settings.event_monitor_purge_label" %>

<%= keep_for_x_days_text(@sap_system_setting.sap_event_days_to_keep) %>

<% end %>
<%= standard_buttons(button_id) %>
<% end %>