search for: htmlhelper

Displaying 1 result from an estimated 1 matches for "htmlhelper".

Did you mean: html_helper
2006 May 03
2
Using a helper within another helper?
...ight commands. To give an example of what I''m doing: from the view: <%= format_planned_start_date @plan, ''plan'', ''planned_to_start_on'', ''Planned Start Date'' %> and from my helper: require ''date'' module HtmlHelper helper :date_helper include DateHelper def format_planned_start_date(obj, obj_name, field_name, label) text = "<tr><td valign=\"top\"><label for=\"#{obj_name}_#{field_name}\">" text += "</label></td>\n" if obj...