In Rails 4 how do I add fields to a form in a DRY manner?
<p>In my Rails 4 project I want to add 2 fields to all the forms for a controller on the server side.</p>

<p>I'd like to add this to all of my forms for a controller.</p>

<pre><code>input name="authenticity_token" type="hidden" value='=form_authenticity_token'
input name="profilePage" type="hidden" value='#{params[:action]}'
</code></pre>

<p>Each view has one form.</p>