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 |
||||
def render |
||||
content_tag :td, :width => "25px" do |
||||
tag :input, :id => "rm_#{filter_class.underscore_name}", |
||||
:name => "fields[]", :type => "button", :value => "", |
||||
hidden_field = tag :input, :id => "rm_#{filter_class.underscore_name}", |
||||
:name => "fields[]", :type => "hidden", :value => "" |
||||
button = tag :input, :type => "button", :value => "", |
||||
: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 |
||||
|
Loading…
Reference in new issue