|
|
|
@ -1,10 +1,10 @@ |
|
|
|
|
<%= |
|
|
|
|
#This partial requires the following locals: |
|
|
|
|
# element a Hash containing the following keys: |
|
|
|
|
# - :name => :activate_filter |
|
|
|
|
# - :filter_name => String: The name of a filter (e.g. activity_id) |
|
|
|
|
# - :label => String: A text which is shown to the user as a label for this filter |
|
|
|
|
# - :width => Integer (optional): The width this partial may consume. If not given, a standard width will be applied |
|
|
|
|
<%# |
|
|
|
|
This partial requires the following locals: |
|
|
|
|
element a Hash containing the following keys: |
|
|
|
|
- :name => :activate_filter |
|
|
|
|
- :filter_name => String: The name of a filter (e.g. activity_id) |
|
|
|
|
- :label => String: A text which is shown to the user as a label for this filter |
|
|
|
|
- :width => Integer (optional): The width this partial may consume. If not given, a standard width will be applied |
|
|
|
|
%> |
|
|
|
|
|
|
|
|
|
<td width="<%= element[:width] || 200 %>"> |
|
|
|
|