I have a strange situation happening on a page where my tags are being closed immediately, leaving the form\'s contents on their own and not useful
My way to fix it is to include the submit button right before the end and make the button not display.
<%= submit_tag('',style: 'width:0;height:0;display:none;') %> <% end %>
This puts the ending tag right where I need it.