Displaying 1 result from an estimated 1 matches for "helpdocumenthelp".
2011 May 21
2
How do you create a sub-layout or a partial that wraps a lot of custom html?
...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 href="#">Yes</a> or
      <a href="#">No</a>
    </div>
  </div>
<% end %>
Is this possible? O...