mardi 12 juillet 2016

How do I add a Checkbox into a # Helper

The problem: I have a table with a link-to within an each. I want the first cell of each row to have a checkbox strictly for toggling. I can display the checkbox, but I can't get it to let me check it.

<table class="table table-hover">
  <thead>
    <th></th>
    <th>Things</th>
    <th>Stuff</th>
<th></th>
   </thead>
  <tbody>
  
          
      <td><input type="checkbox"></td>

      <td></td>
      <td> Something</td>

          
  
  </tbody>
</table>

  • I don't want to go to the route
  • The checkbox needs to toggle
  • The checkbox doesn't need to hold a value (can be destroyed on page refresh)
  • Using the helper makes no difference

I have a twiddle http://ift.tt/29Nf4zF

Aucun commentaire:

Enregistrer un commentaire