Project

General

Profile

« Previous | Next » 

Revision a8e8e145

Added by Shimon Shtein about 9 years ago

Fixes #9548 - Changed the behavior of size selector in compute profile editor to match radio buttons

(cherry picked from commit fe8b40825eb0e5ddde14d53d8634a6fe6f642340)

View differences:

app/helpers/hosts_helper.rb
content_tag :button, _(label), :type => 'button', :href => '#',
:name => 'allocation_radio_btn',
:class => (label == active) ? 'btn btn-default active' : 'btn btn-default',
:onclick => "allocation_switcher(this, '#{label}');"
:onclick => "allocation_switcher(this, '#{label}');",
:data => { :toggle => 'button' }
end.join(' ').html_safe
end)
end

Also available in: Unified diff