Sha256: 4e6b8838625901382029e2d1e86295fca1feb7dc9ab70a048f8c896e62c76587

Contents?: true

Size: 1.46 KB

Versions: 44

Compression:

Stored size: 1.46 KB

Contents

<div class="modal fade" id="<%= "fixedPropertiesSelector-#{host.id}" %>" tabindex="-1" role="dialog" aria-labelledby="fixedPropertiesSelectorLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title" id="fixedPropertiesSelectorLabel">Select initial host properties</h4>
      </div>
      <%= form_for host, :url => edit_discovered_host_path(host), :method => :get do |f| %>
        <div class="modal-body">
          <%= select_f f, :hostgroup_id, accessible_resource_records(:hostgroup, :title).to_a, :id, :to_label,
                      { :include_blank => true },
                      { :help_inline => :indicator, :size => 'col-md-10' } %>

          <% if show_organization_tab?  %>
            <%= select_f f, :organization_id, Organization.my_organizations, :id, :to_label, {}, {:size => 'col-md-10'} %>
          <% end %>

          <% if show_location_tab? %>
            <%= select_f f, :location_id, Location.my_locations, :id, :to_label, {}, {:size => 'col-md-10'} %>
          <% end %>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
          <input type="submit" class="btn btn-default" value="<%= _('Customize Host') %>" />
          <input type="submit" class="btn btn-primary" value="<%= _('Create Host') %>" name="quick_submit" />
        </div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
foreman_discovery-25.1.0 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-25.0.1 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-25.0.0 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-24.0.2 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-23.0.2 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-24.0.1 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-24.0.0 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-23.0.1 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-23.0.0 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-22.0.4 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-21.0.5 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-22.0.2 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-21.0.4 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-21.0.3 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-21.0.2 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-19.0.5 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-19.0.4 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-21.0.1 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-19.0.3 app/views/discovered_hosts/_discovered_host_modal.html.erb
foreman_discovery-21.0.0 app/views/discovered_hosts/_discovered_host_modal.html.erb