Sha256: 674d50cfbdf649ea04517f0327ee8b90d3381641b06269ef425750b48b05f20d

Contents?: true

Size: 1.14 KB

Versions: 28

Compression:

Stored size: 1.14 KB

Contents

<% stylesheet 'foreman_remote_execution/modal_window' %>

<!-- modal window -->
<div class="modal fade" id="importJobTemplateModal" role="dialog" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" onclick="close_import_job_template_modal(); return false;"><span aria-hidden="true">&times;</span><span class="sr-only"><%= _('Close') %></span></button>
        <h4 class="modal-title">Import Job Template</h4>
      </div>
      <div class="modal-body">
        <%= form_for :imported_template, :url => import_job_templates_path do |f| %>
          <%= file_field_f f, :template, :size => "col-md-10", :help_block  => _("Select an ERB file to upload in order to import a job template.  The template must contain metadata in the first ERB comment.") %>
          <%= checkbox_f(f, :overwrite, :label => _('Overwrite'), :help_block => _("Whether to overwrite the template if it already exists")) %>
          <%= submit_or_cancel f, false, :cancel_path => 'javascript:close_import_job_template_modal();' %>
        <% end %>
      </div>
    </div>
  </div>
</div>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
foreman_remote_execution-1.5.4 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.5.3 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.5.2 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.5.1 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.5.0 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.4.6 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.4.5 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.4.4 app/views/job_templates/_import_job_template_modal.html.erb