-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
We are using email previews a lot, and we have many variations in our templates regarding model objects that participate in email rendering. Using the menus for raw/html/text and languages is really cool, and I thought that it would be nice to add some call for adding custom variadic UI to the preview pages. Something like
def notify_person
add_parameter_selector :recipient_id, {"John" => 1, "Jane" => 2}
recipient = Recipient.find(@recipient_id)
DownloadMailer.notify_recipient transfer, recipient
end
with an additional effect that add_parameter_selector
would preset the defined instance variable to the first value of the select. Would that be welcome?
Metadata
Metadata
Assignees
Labels
No labels