Ticket #71 (new enhancement)
Opened 19 months ago
link_to could benefit from taking two arguments
| Reported by: | Klondike | Owned by: | why |
|---|---|---|---|
| Keywords: | Cc: |
Description
It would be sweet if link_to took an optional second argument, the "href" portion. So link_to would still cause the Web.popup block to return a value, but it would display the first argument, and return the second argument from the selected link.
Example: link_to(row[:name], row[:id])
Then the resultant ID could be used to look up the full row from the table, with the name that was clicked.
Note: See
TracTickets for help on using
tickets.
