git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1297 7926756e-e54e-46e6-9721-ed318f58905epull/6827/head
parent
3d14ebe9f1
commit
b7726ffb07
@ -1,7 +1,18 @@ |
||||
<%# |
||||
This partial requires the following locals: |
||||
element a Hash containing the following keys: |
||||
- :name => 'text_box' |
||||
- :text => String (optional): The text that should be displayed within the textbox |
||||
- :width => Integer (optional): The width this partial may consume. If not given, a standard width will be applied |
||||
- :name => :text_box |
||||
- :filter_name => String: The name of a filter (e.g. activity_id) |
||||
- :size => Integer, the size of the textboxt |
||||
- :hide => Boolean (optional, default = true): whether the content of this partial is initially hidden or not |
||||
%> |
||||
|
||||
<td <%= style="display:none" if element[:hide] %>> |
||||
<div style="" id="div_values_<%= element[:filter_name] %>" class="filter_values"> |
||||
<input type="text" |
||||
size="<% element[:size] %>" |
||||
name="values[<%= element[:filter_name] %>]" |
||||
id="values_<%= element[:filter_name] %>" |
||||
class="select-small"> |
||||
</div> |
||||
</td> |
||||
|
Loading…
Reference in new issue