title: Using Typeahead from Twitter Bootstrap in a form (formtastic)
body: <p>How do I integrate a typeahead from bootstrap like this:</p>
  
  <pre><code>&lt;input type="text" class="span3" style="margin: 0 auto;" data-provide="typeahead" data-items="8" data-source='["University of Pennsylvania","Harvard","Yale","Princeton","Cornell","Brown","Columbia","Dartmouth"]'&gt;
  </code></pre>
  
  <p>into a standard form like this:</p>
  
  <pre><code>&lt;%= semantic_form_for(@education) do |f| %&gt;
   &lt;%= render 'shared/error_messages', object: f.object %&gt;
  &lt;div class="field"&gt;
   &lt;%= f.input :college, placeholder: "Update Education" %&gt;
  &lt;/div&gt;
  &lt;%= f.submit "Submit", class: "btn btn-large btn-primary" %&gt;
  &lt;% end %&gt; 
  </code></pre>