|
|
@ -25,8 +25,7 @@ class Widget::Filters::RemoveButton < Widget::Filters::Base |
|
|
|
write(content_tag(:td, :width => "25px") do |
|
|
|
write(content_tag(:td, :width => "25px") do |
|
|
|
hidden_field = tag :input, :id => "rm_#{filter_class.underscore_name}", |
|
|
|
hidden_field = tag :input, :id => "rm_#{filter_class.underscore_name}", |
|
|
|
:name => "fields[]", :type => "hidden", :value => "" |
|
|
|
:name => "fields[]", :type => "hidden", :value => "" |
|
|
|
button = tag :input, :type => "button", :value => "", |
|
|
|
button = icon_wrapper('icon icon-close icon-reporting-filter-rem filter_rem', l(:description_remove_filter)) |
|
|
|
:class => "icon filter_rem icon-filter-rem", :title => l(:description_remove_filter) |
|
|
|
|
|
|
|
content_tag(:div, hidden_field + button, :id => "rm_box_#{filter_class.underscore_name}", :class => "remove-box") |
|
|
|
content_tag(:div, hidden_field + button, :id => "rm_box_#{filter_class.underscore_name}", :class => "remove-box") |
|
|
|
end) |
|
|
|
end) |
|
|
|
end |
|
|
|
end |
|
|
|