Hello
I have this form with username and other user information. Since user
needs to set his own username and it has to be unique, i was going to
add some button to the form that does some ajax magic and checks if
the username is already in use.
What i wanted to know is that if there is some way to add this buttong
right next to the username field through the way how the form itself
is set up - (widget?). I know that i can of course ditch this :
{% for field in aform %}
<tr><td class="label">{{ field.label_tag }}</td><td
class="field">
{{ field }}</td></tr>
{% endfor %}
And write all that markup without for loop and just add the button
after usename field. What i wanted to know was if it can be done
differently?
Alan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---