Sha256: 214d4e361497e61d737165c92b5eacad69f4843e0a9fafb376de44d2c82c03ba

Contents?: true

Size: 1.06 KB

Versions: 125

Compression:

Stored size: 1.06 KB

Contents

<%= form_for @remote_execution_feature do |f| %>
  <div class="row">
    <%= field(f, :name) { @remote_execution_feature.name } %>
  </div>
  <div class="row">
    <%= field(f, :label) { @remote_execution_feature.label } %>
  </div>
  <div class="row">
    <%= field(f, :description) { @remote_execution_feature.description } %>
  </div>
  <div class="row">
    <%= field(f, :provided_inputs) { @remote_execution_feature.provided_inputs } %>
  </div>
  <div class="row">
    <% job_templates = JobTemplate.authorized(:view_job_templates) %>
    <% if @remote_execution_feature.job_template_id.present? && job_templates.where(:id => @remote_execution_feature.job_template_id).empty? %>
      <div class="alert alert-warning" role="alert">
        <%= _("You are not allowed to see the currently assigned template. Saving the form now would unassign the template.") %>
      </div>
    <% end %>
    <%= selectable_f f, :job_template_id, job_templates.map { |t| [ t.name, t.id ] }, { :include_blank => true }, :class => 'input_type_selector' %>
  </div>
<%= submit_or_cancel f %>
<% end %>

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
foreman_remote_execution-8.3.3 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.3.2 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.3.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-10.0.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-10.0.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.3.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-9.1.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.2.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.2.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-9.0.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-9.0.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.1.2 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.1.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.1.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-7.2.2 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-7.2.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-7.2.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-5.0.8 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-8.0.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-7.1.1 app/views/remote_execution_features/_form.html.erb