Kind of looking for advice, as I feel there has to be a better way to do what I'm trying to do.
I have reusable form elements that must use a certain styling, name convention, etc, and then boolean options for things like 'Does this field have a hint/tooltip/X/Y/Z'. It's resulted in an unwiedly template that I basically have to use like this to keep readable.
{% with (long string of assignments %}
{% with (long string of assignments %}
{% include 'my-awesome-field.html' %}
{% endwith %}
{% endwith %}
I feel like there must be some more Django/Pythonic way of doing this. Any thoughts?