I have this request_control.html :
<form method="post" action="{% url 'cost_control_app:request_update' form_request_update.instance.request %}">
{% csrf_token %}
<div class="row">
{%include "partials/field.html" with field=form_request_update.request %}<br clear="all"/>
{%include "partials/field.html" with field=form_request_update.request_date %}<br clear="all"/>
{%include "partials/field.html" with field=form_request_update.request_type %}<br clear="all"/>
{%include "partials/field.html" with field=form_request_update.request_description %}<br clear="all"/>
{%include "partials/field.html" with field=form_request_update.user_login %}<br clear="all"/>
{%include "partials/field.html" with field=form_request_update.state %}<br clear="all"/>
{%include "partials/field.html" with field=form_request_update.closed_date %}<br clear="all"/>
</div>
{% for group in user.groups.all %}
{% if group.name == 'IC Admins' %}
<input type="submit" class="btn btn-primary" value="Atender"/>
{% endif %}
{% endfor %}
</form>
And i need to set some of these fields as readonly, how can i do it ??
Thanks for your help !!