<%=button_to “edit”, :action=>“edit” %>
<%=button_to “delete”, :action=>“delete” %>
See default scaffold for the “list” action view and change link_to to
button_to
<%=button_to “edit”, :action=>“edit” %>
<%=button_to “delete”, :action=>“delete” %>
See default scaffold for the “list” action view and change link_to to
button_to
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs