The button_to causes a line break before it in HTML. I have found a workaround which will work, but it's hardly ideal, because then the buttons are NOT real buttons. Is there any other way to avoid the line break before the form?
Here's the resulting HTML
<a href="/last_page">Back</a> |
<form method="post" action="/next_page" class="button-to">
<div><input type="submit" value="Continue" /></div>
</form>
any help from the CSS side or the Rails side would really help!