From b7726ffb07637538cff48884032c79f56ec73582 Mon Sep 17 00:00:00 2001
From: "p.tessenow"
Date: Wed, 7 Jul 2010 07:58:52 +0000
Subject: [PATCH] a first implementation of the text_box partial
git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1297 7926756e-e54e-46e6-9721-ed318f58905e
---
.../cost_reports/filters/_text_box.rhtml | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/app/views/cost_reports/filters/_text_box.rhtml b/app/views/cost_reports/filters/_text_box.rhtml
index eb40dc2b23..9988d38092 100644
--- a/app/views/cost_reports/filters/_text_box.rhtml
+++ b/app/views/cost_reports/filters/_text_box.rhtml
@@ -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
-%>
\ No newline at end of file
+ - :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
+%>
+
+