Displaying 1 result from an estimated 1 matches for "_window_title_bar".
Did you mean:
window_title_bar
2006 Apr 21
2
Passing Variables to a sub template
Hi,
I must be missing something very basic here.
I have a parent template and I am calling a sub template like...
<%= render( :partial => "window_title_bar", {"heading" => "Product
Details"}) %>
and in the sub template (_window_title_bar.rhtml), i am doing
Heading: <%= heading %>
but I am getting syntax error in the master template at line
<%= render( :partial => "window_title_bar", {"heading" => "Requirement
Details"}) %>
Any help is appreciated. Thanks in Advance.
Pradeep...