title: Semantic Nested Form for Destroy
body: <p>I have this semantic nested form to destroy a nested object in Active Admin.</p>
  
  <pre><code>= semantic_form_for book.chapters.new, url: {controller: "admin/products", action: :remove_chapter} do |f|
    = f.inputs do
      li
        label Select
        = f.collection_select :chapter_product_id, book.chapter_products.order(:name), :id, :name, include_blank: 'Select Chapter'
  
    = f.actions do
      = f.action :submit, label: "Remove Chapter"
  </code></pre>
  
  <p>It works fine, but I feel it is wrong to use a <code>semantic_for_for book.chapters.new</code> since I am not actually creating anything.</p>
  
  <p>I am just making a dropdown select based on a collection to remove an Object.</p>
  
  <p>Just looking to see if there is a better way to do this than how I am doing it now.</p>
  
  <p>I was thinking of just adding a delete button in a table_for, but I can't seem to properly direct to the member_action without getting a route error even though I use the exact same route as the controller in the semantic_form (and added <code>method: :post</code>).</p>
  
  <p>Tried a whole bunch of options from this thread with no success -- <a href="https://github.com/activeadmin/activeadmin/issues/53" rel="nofollow noreferrer">https://github.com/activeadmin/activeadmin/issues/53</a></p>
  
  <p>Thanks!</p>