I have a button to submit a form
<div class="actions">
<%= f.submit, html: {class: "button"}%>
</div>
But none of the HTML attributes ( class
and id
) work, they only give me an error on the page. Does anyone know how I can put an id or class of my choice?