Displaying 1 result from an estimated 1 matches for "helpdocumentview".
2011 May 21
2
How do you create a sub-layout or a partial that wraps a lot of custom html?
Basically I''d like to create a layout inside of a layout using erb.
Something like this:
<%= render :partial => ''support'' do %>
<div id="helpDocumentView">
<h3><%= @help_document.question %></h3>
<%= @help_document.content %>
<div id="helpDocumentHelpful" data-help-document-id="<%=
@help_document.id %>">
<b>Was this information helpful?</b>
<a hr...