mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
This support is near-identical to the existing submit_tag support.
Example:
<%= form_for @post do |f| %>
<%= f.button %>
<% end %>