All pastes #547167 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-07 09:08 UTC
rendered paste body
<p><label for="product_category">Category</label><br/>
  <%= collection_select("product", "category_id", @categories, :id, :title ) %>
    or a new category <%= text_field 'category', 'title' %>
  </p>