Sha256: 9de6206ce08d4bcb3c8fe627241a0b5ca339f0b9cfa55416e5067c68b5a5fe47

Contents?: true

Size: 1.02 KB

Versions: 11

Compression:

Stored size: 1.02 KB

Contents

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

  <%= field(f, :job_name) do %>
    <%= auto_complete_search(:job_name,
                             f.object.job_name,
                             :placeholder => _("Job name") + ' ...',
                             :name => 'job_template[job_name]',
                             :id => 'search') %>
  <% end %>

  <%= select_f f, :provider_type, providers_options, :first, :last %>

  <div class="children_fields">
    <%= new_child_fields_template(f, :template_inputs, { :partial => "template_inputs/form" }) %>
    <%= f.fields_for :template_inputs do |ff| %>
      <div class="template_input_form fields">
        <%= render 'template_inputs/form', :f => ff %>
      </div>
    <% end %>
    <%= add_child_link '+ ' + _("Add Input"), :template_inputs, { :title => _('add a input for this template')} %>
  </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

11 entries across 11 versions & 1 rubygems

Version Path
foreman_remote_execution-0.1.1 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.1.0 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.10 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.8 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.7 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.6 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.5 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.4 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.3 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.2 app/views/job_templates/_custom_tabs.html.erb
foreman_remote_execution-0.0.1 app/views/job_templates/_custom_tabs.html.erb