Sha256: 2d063f09cfb27cc4cae74b9966d23eff8ec4a261c9ac8da58e1e4fc347866cef
Contents?: true
Size: 1.48 KB
Versions: 10
Compression:
Stored size: 1.48 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> <div class="modal-body"> <%= form_for host, :url => edit_discovered_host_path(host), :method => :get do |f| %> <%= 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
10 entries across 10 versions & 1 rubygems