Project

General

Profile

« Previous | Next » 

Revision 1f71c494

Added by Tomer Brisker over 8 years ago

Fixes #12204 - Show interface form helptext in popovers

Refs #12204 - Resize interface modal, fields and labels

To cause virtual network settings to display correcty changes were also needed
in the layout of the compute attribute forms.

View differences:

app/views/nic/manageds/_managed.html.erb
<%= checkbox_f f, :virtual,
:disabled => !f.object.new_record?,
:label => _("Virtual NIC"),
:help_inline => _("Enable if this is an alias or VLAN interface, note that alias can be used only with static boot mode subnet"),
:class => 'virtual' %>
:help_inline => popover('',_("Enable if this is an alias or VLAN interface, note that alias can be used only with static boot mode subnet"), :rel => 'popover-modal'),
:class => 'virtual',
:size => "col-md-8", :label_size => "col-md-3" %>
<% hidden_class = f.object.virtual ? '' : 'hidden' %>
<%= content_tag :div, :class => "virtual_form #{hidden_class}" do %>

Also available in: Unified diff