Hello.
I'm using a formset and I enable the delete option.
When I just write {{ form }} in the appropriate spot on the template,
I get a label Delete? along with the box. But my other fields are not
labelled awkwardly, using their name (i.e., the field author_name is
labelled Author name). I want instead to use the help_text.
So in my template I have this:
{% for field in form %}
<div>
{% if field.errors %}
<span class="form_errors">{{ field.errors }}</span>
{% endif %}
{% if field.field.required %}<span class='required_field'>{%
endif %}
<span class='form_label'>{{ field.help_text }}</span>
{% if field.field.required %}</span>{% endif %}
<span class='form_widget'>{{ field }}</span>
</div>
{% endfor %}
and it works great. Except, the delete checkbox is there without any
label. Since I don't put the delete checkbox in, I'm uncertain how to
affect its help_text. Does anyone know?
Thanks, Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---