Skip to content

SubmitTag

Antonio Pagano edited this page Jan 29, 2018 · 3 revisions

SubmitTag tag allows to create input[type=submit], which allow to submit forms in HTML.

SubmitTag tag can be used with both form and form_for helpers, it has the same structure in both cases:

<%= f.SubmitTag("Send") %>

Produces

<input type="submit" value="Send" />