Sha256: febca4d5b35d3d060679f62c50947781a9c768c29c6b73f9d09b8b8fee727730
Contents?: true
Size: 1.17 KB
Versions: 27
Compression:
Stored size: 1.17 KB
Contents
<h2><%=h @website_section.title %></h2> <% @contents.each do |content| %> <%=raw content.body_html %> <% end %> <% #Optional Parameters: # content_type: Leave blank to search all section types, set to Blog to only search Blog articles # section_permalink: This is the permalink value for the section # Useful if you only want to search articles within a single Blog section # results_permalink: How do you want your results to display? via ajax? or on a new page? # Leave blank if you want results to display via ajax on the same page as the search form # Enter the permalink of results page if you want the search results to display on a new page # per_page: Number of results per page # class: CSS class for the form %> <%= render_widget :search, :action => get_widget_action, :params => set_widget_params({ :content_type => '', :section_permalink => '', :results_permalink => '', :per_page => 20, :class => '' }) %>
Version data entries
27 entries across 27 versions & 1 rubygems