Skip to main content

footer_text

The footer_text hook is used to specify any additional text in the page chrome footer. Whatever HTML is specified for this layout option will be prepended directly into the footer; the HTML is not wrapped or mutated by anything in the gem.

This is a Standard (3-Option) Hook, which can be set as normal.

Here is a very straightforward example of setting footer_text with content_for.

// app/views/players/index.html.erb

<% content_for(:footer_text, 'Footie Text') %>