diff --git a/README.md b/README.md index e89819e..86864de 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,16 @@ place additional elements (maybe a header image or additional text blocks) on th and then use the view helpers to render the search form on the page layout partial and the search results on the element view partial. +```erb + +<%= render_elements %> + + +<%= element_view_for(searchresults) do |el| -%> + <%= render_search_results %> +<%- end -%> +``` + ### View Helpers This gem provides some helper methods that let you render the form and the search results.