<% fields_for @sap_job_definition do |form| %> <% form.fields_for :sap_abap_step_set do |abap_set_fields| %> <% if @sap_job_definition.sap_system_environment.nil? @sap_job_definition.build_sap_system_environment() @sap_job_definition.sap_system_environment.build_sap_system_definition() end %>
<%= t('sap_job_definitions.shared_abap_step_set.title') %>
<%= abap_set_fields.check_box :shared?, :disabled=>@view_only %>

<%= abap_set_fields.label :name, t_label('sap_job_definitions.use_shared_abap_step_set'), :class => "name-label item-label" %>
<%= abap_set_fields.hidden_field :id, :disabled => true %> <%= abap_set_fields.hidden_field :name, :disabled => true %>

<%= t('sap_job_definitions.shared_abap_step_set.caption') %>

<% end %> <% end %>