summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorankitjavalkar2020-08-25 16:12:52 +0530
committerankitjavalkar2020-08-25 16:12:52 +0530
commit8f583b3a00f9b2d65c19b99c886d69cb9d0e2d27 (patch)
treec6d2dfbe5fdb6fd37f2cd5a3ab05ed6d3d79028c
parent3999e744fe1a3a4c4fcb7d2763b36def9d7bb213 (diff)
downloadonline_test-8f583b3a00f9b2d65c19b99c886d69cb9d0e2d27.tar.gz
online_test-8f583b3a00f9b2d65c19b99c886d69cb9d0e2d27.tar.bz2
online_test-8f583b3a00f9b2d65c19b99c886d69cb9d0e2d27.zip
Add form labesl to editprofile form rendering
-rw-r--r--yaksh/templates/yaksh/editprofile.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/editprofile.html b/yaksh/templates/yaksh/editprofile.html
index 47e74ea..509b2f6 100644
--- a/yaksh/templates/yaksh/editprofile.html
+++ b/yaksh/templates/yaksh/editprofile.html
@@ -34,7 +34,9 @@
{% endfor %}
{% endif %}
{% for field in form %}
- <td>{{ field }} <small>{{ field.help_text }}</small></td>
+ <table>
+ <td>{{ field.label }}</td><td>{{ field }}</td><td><small>{{ field.help_text }}</small></td>
+ </table>
<br>
{% endfor %}
<br>