TimHeckel/meteor-bootboxjs — pull request #16 by cwohlman (2014-11-05 21:07:07+00:00)
Title: Create dialogs from Meteor Templates

I've added a method `bootbox.templateDialog(options)` which lets you create modals from meteor templates. I think it would be a great addition to the bootbox package.

I'm open to suggestions on a better api for the new functionality: what do you think of wrapping bootbox.dialog instead of adding a new api call, like so:

var div = document.createElement("div");
UI.insert(UI.renderWithData(options.template, options.data), div);
options.message = div;

Hope this is helpful :)