Type Selection Template+discussion
Almost forgot this, maybe I should add it to the 'issue' part?
I need a class on the type view so javascript knows if the cardtype can be changed. Don't want to have to do a transaction with the server to know that. In the PR, that class is 'no-edit', that's what the comment about changing the class as you like is about.
What's a "script template"? What does is mean for "user/roles" to be on a page?
Why not just do something like this:
<head>
{{*head}}
{{type template}}
</head>
seems a lot simpler, no?
extra context: *head seems like a mess to me. I've been looking for ways to clean it up; I don't think we can just go sticking in optional_renders for every odd use case we come up with.
It's dynamic, so you can't just put it in a card. I guess it could be a self view.
of course you can put it in a card; you can put everything in a card. if it needs code, then you can override the raw view.
(that's what's turning into standard practice for code-driven content)
and if you don't want it processed, just add:
view :core, :raw