How do we use `options.modalClass`
Trying to figure out if I can pass a specific class name to a modal triggered from a specific index.
I mean, I know how I can rig it... but didn't know if there was a "Trestle" or "Rails" way of doing it as of right now.
Nevermind, I think I see how I could do it... Just use render layout: 'dialog-something' and make my own version of the dialog layout.
Gah, spoke to soon. I then tried to override the js file for components/_dialog.js but that doesn't seem to do anything.
Was going to look for a property for "modelClass" or something in the data- of the link and append it to the #dialog but hmm...
The way this currently works, the (relatively limited) dialog customizations are controlled by the link that initiates the dialog. You can set a custom modal class using the data-dialog-class attribute on the link.