I use the rails function submit_button to generate a button for my form. How can I add the formnovalidate tag to this button?
The code in the view looks like
<%= f.submit_button('Draft Changes', class: 'btn btn-success') %>
Regards, SB
I use the rails function submit_button to generate a button for my form. How can I add the formnovalidate tag to this button?
The code in the view looks like
<%= f.submit_button('Draft Changes', class: 'btn btn-success') %>
Regards, SB