U
U
undeadter2016-06-10 01:15:25
Django
undeadter, 2016-06-10 01:15:25

How to use such constructs in django template?

ng-class="{ 'has-error' : userForm.{{ name }}.$invalid && !userForm.{{ name }}.$pristine }" - error: {{ name }}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2016-06-10
@undeadter

{% verbatim %}
ng-class="{ 'has-error' : userForm.{{ name }}.$invalid && !userForm.{{ name }}.$pristine }" - ошибка: {{ name }}
{% endverbatim %}

if I understand you correctly

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question