title: Bootstrap 3, Haml, and Rails 4 - Create dropdown from model attributes
body: <p>I have two models, <code>Notification</code> and <code>NotificationPath</code>.</p>
  
  <p>Each <code>Notification</code> has an <code>area</code> attribute that maps up to a <code>NotificationPath</code> areas.</p>
  
  <p>So a <code>NotificationPath</code> has_many <code>Notifications</code>.</p>
  
  <p>I have the following haml code in my <code>notification/new</code> view:</p>
  
  <pre><code>= f.input :area, :required =&gt; false, label: false, :autofocus =&gt; true, placeholder: 'Notification Area', input_html: { class: 'form-control' }
  </code></pre>
  
  <p>This creates a text field that you can type anything into, and it functions correctly. However, what I really want is to display a dropdown of all of the available <code>NotificationPath</code> areas. When you select that choice, the dropdown box should be filled with the selected text.</p>
  
  <p>How can I do that using Haml and Bootstrap 3?</p>