Revision 1fa42669
Added by Amos Benari over 10 years ago
refs #3811 - additional bootstrap 3 updates/fixes
- provisioning template "resolve" button ui fixes
- form inline help and button lacation fix
- host ip address help link fixed
- fixes libvirt allocation buttons
- host global parameters columns fixed
- fix multi-select width
app/helpers/layout_helper.rb | ||
---|---|---|
end
|
||
|
||
def selectable_f(f, attr, array, select_options = {}, html_options = {})
|
||
html_options.merge!(:size => 'col-md-10') if html_options.include?(:multiple)
|
||
field(f, attr, html_options) do
|
||
addClass html_options, "form-control"
|
||
f.select attr, array, select_options, html_options
|
Also available in: Unified diff