Sha256: 6d1e358bcb4f5434dba285be5321904c45d185caef7bf7d91f9268f5659564ba

Contents?: true

Size: 1.74 KB

Versions: 27

Compression:

Stored size: 1.74 KB

Contents

<div class="tab-pane" id="template_job">

  <%= autocomplete_f(f, :job_category,
        :search_query => '',
        :placeholder => _("Job category") + ' ...',
        :disabled => @template.locked?) %>
  <%= text_f f, :description_format,
             :disabled => @template.locked?,
             :label_help => description_format_help %>

  <%= select_f f, :provider_type, providers_options, :first, :last, :disabled => @template.locked? %>

  <%= number_f f, :execution_timeout_interval, :disabled => @template.locked?, :label => _('Timeout to kill') %>

  <div class="children_fields">
    <%= new_child_fields_template(f, :foreign_input_sets, { :partial => "template_inputs/foreign_input_set_form" }) %>
    <%= f.fields_for :foreign_input_sets do |ff| %>
      <div class="template_input_form fields">
        <%= render 'template_inputs/foreign_input_set_form', :f => ff %>
      </div>
    <% end %>
    <%= add_child_link '+ ' + _("Add Foreign Input Set"), :foreign_input_sets, { :title => _('add an input set for this template to reference a different template inputs') } unless @template.locked? %>
  </div>

  <div class="children_fields">
    <%= field_set_tag _("Effective user") do %>
      <%= f.fields_for :effective_user, @template.effective_user do |ff| %>
        <div class="effective_user_form fields">
          <%= text_f ff, :value, :disabled => @template.locked? %>
          <%= checkbox_f ff, :current_user, :disabled => @template.locked? %>
          <%= checkbox_f ff, :overridable, :disabled => @template.locked? %>
        </div>
      <% end %>
    <% end %>
  </div>

</div>

<div class="tab-pane" id="template_type">
  <%= checkbox_f f, :snippet, :onchange => "snippet_changed(this)", :label=>_('Snippet'), :disabled => @template.locked? %>
</div>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
foreman_remote_execution-8.3.3 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.3.2 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.3.1 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-10.0.3 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-10.0.2 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-10.0.1 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-10.0.0 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.3.0 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-9.1.0 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.2.1 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.2.0 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-9.0.1 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-9.0.0 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.1.2 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.1.1 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.1.0 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-7.2.2 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-7.2.1 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-7.2.0 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-8.0.0 app/views/job_templates/_custom_tabs.html.erb