In django template how to use such structures?

ng-class="{ 'has-error' : userForm.{{ name }}.$invalid && !userForm.{{ name }}.$pristine } " error: {{ name }}
July 8th 19 at 15:23
1 answer
July 8th 19 at 15:25
Solution
{% verbatim %}
ng-class="{ 'has-error' : userForm.{{ name }}.$invalid && !userForm.{{ name }}.$pristine } " error: {{ name }}
{% endverbatim %}

if I understand you correctly

Find more questions by tags AngularDjango