title: Ruby on Rails - Is it possible to show specific content on two views?
body: <p>Is there any helper method in Ruby on Rails which allows me to show content from a rendered <strong>_form.html.haml</strong> so that the content will only show up if and only if the <strong>view</strong> in which I render the form will just show me a specific part of the <strong>_form.html.haml</strong>?</p>
  
  <p>For better understanding let me show you an example: Let <strong>a.html.haml</strong>, <strong>b.html.haml</strong> be views.
  Further let <strong>_form.html.haml</strong> be a form.</p>
  
  <p><strong>a.html.haml</strong> and <strong>b.html.haml</strong> got both the following content inside:</p>
  
  <p><strong>=render 'form'</strong></p>
  
  <p>All i want now is that <strong>a</strong> is just loading a specific part from the <strong>form</strong> which fits to <strong>a</strong> AND
  <strong>b</strong> is just loading a specific part from the <strong>form</strong> which fits to <strong>b</strong>.</p>