Project

General

Profile

« Previous | Next » 

Revision e860e41f

Added by Tomáš Strachota over 8 years ago

Fixes #11111 - action dropdowns pulled right

(cherry picked from commit cc67119632ea77bde23415abe1691f8297df8132)

View differences:

app/helpers/application_helper.rb
#multiple options
content_tag(:div, options.merge(:class=>'btn-group')) do
link_to((title +" " +content_tag(:i, '', :class=>'caret')).html_safe,'#', :class=>"btn btn-default dropdown-toggle", :'data-toggle'=>'dropdown') +
content_tag(:ul,:class=>"dropdown-menu") do
content_tag(:ul,:class=>"dropdown-menu pull-right") do
args.map{|option| content_tag(:li,option)}.join(" ").html_safe
end
end

Also available in: Unified diff