<%= f.submit_with_popup 'submit' %> | <%= f.submit_with_popup 'submit (with popup_features)', popup_features: 'width=300,height=200' %> | <%= f.submit_with_popup 'submit (with confirm)', data: { confirm: 'Are you sure?' } %> | <%= f.button_with_popup 'button' %> |