Submiting a form
<%= submit_tag %>
Is there anyway to submit aform using a button instead of the submit_tag? Nor do I want to use the image_submit_tag. What other options do I have to submit a form? I understand that the submit_tag produces <input type="submit">.
Thanks in advance.
Edit: I'm interested in reusing some of my css. I was thinking if it's possible to use this code below to submit the form. Basically I have css for a button but I want that button to do the submitting of the form. Or do I just rewrite the css for the submit_tag? Thanks for the help.
<%= link_to raw("<span>hello</span>"), root_path, :class=>"button grey"%>
Or is it more logical to just rewrite css for the submit tag?