Merge branch 'feature/widgets' of https://dev.finn.de/git/reporting-engine into feature/widgets
commit
1a3037f38f
After Width: | Height: | Size: 69 B |
@ -1,9 +1,11 @@ |
|||||||
class Widget::Filters::RemoveButton < Widget::Filters::Base |
class Widget::Filters::RemoveButton < Widget::Filters::Base |
||||||
def render |
def render |
||||||
content_tag :td, :width => "25px" do |
content_tag :td, :width => "25px" do |
||||||
tag :input, :id => "rm_#{filter_class.underscore_name}", |
hidden_field = tag :input, :id => "rm_#{filter_class.underscore_name}", |
||||||
:name => "fields[]", :type => "button", :value => "", |
:name => "fields[]", :type => "hidden", :value => "" |
||||||
|
button = tag :input, :type => "button", :value => "", |
||||||
:class => "icon filter_rem icon-filter-rem" |
:class => "icon filter_rem icon-filter-rem" |
||||||
|
content_tag(:div, hidden_field + button, :id => "rm_box_#{filter_class.underscore_name}", :class => "remove-box") |
||||||
end |
end |
||||||
end |
end |
||||||
end |
end |
||||||
|
Loading…
Reference in new issue