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