Displaying 1 result from an estimated 1 matches for "content_for_dressing".
2005 Apr 06
6
Mimic something like layout on a smaller scale?
...etc...). I want to be able to easily take
advantage of the existing HTML helper methods provided for controllers, in a
mini-layout type way.
Header/Footer dressing:
<table>
<tr><td class="Title"><%=@title%></td></tr>
<tr>
<td>
<%=@content_for_dressing%>
</td>
</tr>
</table>
Controller rhtml:
...some display stuff...
<%DRESS%>
<%=text_field(''project'', ''name'')%>
...
<%ME%>
...some other display stuff...
Basically so that anything between DRESS and ME becomes the c...