Revision 77f70152
Added by Stephen Benjamin about 10 years ago
app/views/hosts/_unattended.html.erb | ||
---|---|---|
</div>
|
||
|
||
<div class="tab-pane" id="network">
|
||
<%= field_set_tag _("General Settings"), :id => "general_settings" do %>
|
||
<%= select_f f, :domain_id, accessible_domains, :id, :to_label, {:include_blank => true},
|
||
{:help_inline => :indicator,
|
||
:onchange => 'domain_selected(this);', :'data-url' => domain_selected_hosts_path} %>
|
||
|
||
<%= select_f f, :realm_id, Realm.with_taxonomy_scope_override(@location,@organization).authorized(:view_realms),
|
||
:id, :to_label, { :include_blank => true }, {:help_inline => :indicator} %>
|
||
<% end %>
|
||
|
||
<%= field_set_tag _("Primary Interface"), :id => "primary_interface" do %>
|
||
<div id="mac_address" <%= display? @host.compute_resource_id %> >
|
||
<%= text_f f, :mac, :help_inline => _("MAC address for this host"), :autocomplete => 'off' %>
|
||
</div>
|
||
|
||
<%= select_f f, :domain_id, accessible_domains, :id, :to_label, {:include_blank => true},
|
||
{:help_inline => :indicator,
|
||
:onchange => 'domain_selected(this);', :'data-url' => domain_selected_hosts_path} %>
|
||
|
||
<div id='manage_network'>
|
||
</div>
|
||
|
Also available in: Unified diff
fixes #1809 - foreman realm integration