%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% button_id = "button_close_#{@automate_schedule_variable.id}" form_id = "edit_automate_schedule_variable_#{@automate_schedule_variable.id}" @title_section = t('automate_schedule_variable.page_title') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @automate_schedule_variable.name if @automate_schedule_variable.static_value? @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['automate_schedule_variables']['static_automate_schedule_variables_settings'] else @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['automate_schedule_variables']['dynamic_automate_schedule_variables_settings'] end %> <% form_for @automate_schedule_variable, :html => {:id => form_id,:class => "edit_automate_schedule_variable",: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 => "automate-schedule-variable-general", :section_title => t('common.general_title')}) do %>
<%= t_label('common.name') %>
<%= h @automate_schedule_variable.name %>
<%= t_label('common.description')%>
<%= h @automate_schedule_variable.description %>
<%= t_label('common.tags')%>
<%= h @automate_schedule_variable.tag_list %>
<%= t_label "automate_schedule_variable.external_label" %>
<%= @automate_schedule_variable.allow_outside_access ? t('common.key_yes') : t('common.key_no') %>
<%= t_label('automate_schedule_variable.value')%>
<%= h @automate_schedule_variable.value %>
<%= t_label "common.calendar" %>
<%= @automate_schedule_variable.calendar ? @automate_schedule_variable.calendar.name : "" %>
<%= t_label('automate_schedule_variables.edit_dynamic_date.offset_days')%>
<%= h @automate_schedule_variable.offset_days_text %>
<%= t_label('automate_schedule_variables.edit_dynamic_date.date_format')%>
<%= h @automate_schedule_variable.date_format_code_text %>