here i want to set the values of each element in pid[] array.....how to that? below is my code
{% for element in role %} {{ element }} {{ hiddenform.render('pid', ['class': 'form-control']) }} // I want to set value of element to pid
{% endfor %}
please somebody help???