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-1.8.4 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.8.3 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.8.2 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.8.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.8.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.7.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.7.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.6.7 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.6.6 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.6.5 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.6.4 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.5.6 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.6.3 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.6.2 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.5.5 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.6.1 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.6.0 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.5.4 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.5.3 app/views/remote_execution_features/_form.html.erb
foreman_remote_execution-1.5.2 app/views/remote_execution_features/_form.html.erb