Sha256: bd4a5b07ce32890d5ada8b5fee09fb6f037e13e1a8352850de675867c5ec6cfd

Contents?: true

Size: 1.12 KB

Versions: 19

Compression:

Stored size: 1.12 KB

Contents

<% stylesheet '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

19 entries across 19 versions & 1 rubygems

Version Path
foreman_remote_execution-1.4.3 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.4.2 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.3.7 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.3.6 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.4.1 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.3.5 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.3.4 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.3.3 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.3.2 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.3.1 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.3.0 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.2.2 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.2.1 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.2.0 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.1.1 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.1.0 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-1.0.0 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-0.3.2 app/views/job_templates/_import_job_template_modal.html.erb
foreman_remote_execution-0.3.1 app/views/job_templates/_import_job_template_modal.html.erb