Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

image_submit_tag confirm option enhancement

#784

This patch allows you to use the :confirm option with the image submit tag helper. submit_tag already operates in this manner.

eg.

image_submit_tag('delete.gif', :confirm => 'Are you sure?')

The patch includes a change to the documentation and a relevant test.

Reported by Alastair Brunton · August 9th, 2008 @ 08:52 AM

State: committed
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. DHH
    DHH
    • State changed from new to committed

    September 10th, 2008 @ 06:13 AM