Allow form to submit from datatable

Allow form to submit from datatable

hr1383hr1383 Posts: 1Questions: 0Answers: 0
edited March 2013 in General
My row has a button, which on click will submit the form. But the click doesn't work.

<%= form_for(@sing) do |f| %>

<%= @sing.number %>
<%= @sing.country %>
<%= @sing.status %>
<%= f.select("environment", options_for_select([['qa1', 'qa1'],
['qa2', 'qa2'],['stg', 'stg'],['vlab', 'vlab']],:environment )) %>
<%= f.radio_button :reserved ,'reserved' %>
<%= f.text_field :notes%>

<%= link_to "abc","/tnrepos/1" %>

<% end %>


How can a form be submitted
This discussion has been closed.