Sha256: 0dca323ed3e99faf2af369cde040ed7f5913fa6d4bcb443e502ec571659c9122

Contents?: true

Size: 1023 Bytes

Versions: 71

Compression:

Stored size: 1023 Bytes

Contents

<%= form_for @tailoring_file,
    :url => (@tailoring_file.id? ?
        tailoring_file_path(:id => @tailoring_file.id) : tailoring_files_path),
    :html => { :multipart => true } do |f| %>

  <%= base_errors_for @tailoring_file %>

  <ul class="nav nav-tabs" data-tabs="tabs">
    <li class="active"><a href="#primary" data-toggle="tab"><%= _("File Upload") %></a></li>
    <% if show_location_tab? %>
      <li><a href='#locations' data-toggle='tab'><%= _('Locations') %></a></li>
    <% end %>
    <% if show_organization_tab? %>
      <li><a href='#organizations' data-toggle='tab'><%= _('Organizations') %></a></li>
    <% end %>
  </ul>
  <div class="tab-content">
    <div class="tab-pane active" id="primary">
      <%= text_f(f, :name) %>
      <%= file_field_f f, :scap_file, :file_name => @tailoring_file.original_filename, :label_help => _("DataStream Tailoring file") %>
    </div>
    <%= render 'taxonomies/loc_org_tabs', :f => f, :obj => @tailoring_file %>
    <%= submit_or_cancel f %>
  </div>
<% end %>

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
foreman_openscap-10.0.2 app/views/tailoring_files/_form.html.erb
foreman_openscap-10.0.1 app/views/tailoring_files/_form.html.erb
foreman_openscap-10.0.0 app/views/tailoring_files/_form.html.erb
foreman_openscap-9.0.4 app/views/tailoring_files/_form.html.erb
foreman_openscap-9.0.3 app/views/tailoring_files/_form.html.erb
foreman_openscap-9.0.2 app/views/tailoring_files/_form.html.erb
foreman_openscap-9.0.1 app/views/tailoring_files/_form.html.erb
foreman_openscap-9.0.0 app/views/tailoring_files/_form.html.erb
foreman_openscap-8.0.0 app/views/tailoring_files/_form.html.erb
foreman_openscap-7.1.1 app/views/tailoring_files/_form.html.erb
foreman_openscap-7.1.0 app/views/tailoring_files/_form.html.erb
foreman_openscap-7.0.0 app/views/tailoring_files/_form.html.erb
foreman_openscap-6.0.0 app/views/tailoring_files/_form.html.erb
foreman_openscap-5.2.3 app/views/tailoring_files/_form.html.erb
foreman_openscap-5.2.2 app/views/tailoring_files/_form.html.erb
foreman_openscap-5.1.1 app/views/tailoring_files/_form.html.erb
foreman_openscap-5.2.1 app/views/tailoring_files/_form.html.erb
foreman_openscap-5.2.0 app/views/tailoring_files/_form.html.erb
foreman_openscap-5.1.0 app/views/tailoring_files/_form.html.erb
foreman_openscap-5.0.0 app/views/tailoring_files/_form.html.erb