<div class="field">
<%= form.label :course_type %>
<%= form.check_box :ctype, {:id => "post_ctype"} %>checkbox 1
<%= form.check_box :ctype, {:id => "post_ctype"} %>checkbox 2
</div>
check box is not working properly,so i need a proper syntax for check box in rails,I hope u all
Aucun commentaire:
Enregistrer un commentaire