diff options
-rw-r--r-- | yaksh/templates/yaksh/editprofile.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/yaksh/templates/yaksh/editprofile.html b/yaksh/templates/yaksh/editprofile.html index 47e74ea..c95da88 100644 --- a/yaksh/templates/yaksh/editprofile.html +++ b/yaksh/templates/yaksh/editprofile.html @@ -6,13 +6,11 @@ <br> <form action="{% url 'yaksh:edit_profile'%}" method="post" > {% csrf_token %} - <center> <div class="row justify-content-center form-group"> <div class="col-md-4 col-md-offset-4"> <form action="" method="post"> <fieldset> {% csrf_token %} - <center> {% if form.errors %} {% for field in form %} {% for error in field.errors %} @@ -34,14 +32,17 @@ {% endfor %} {% endif %} {% for field in form %} - <td>{{ field }} <small>{{ field.help_text }}</small></td> - <br> + <div class="form-group"> + <label> + {{ field.label }} + </label> + {{ field }} + </div> {% endfor %} <br> <br> - </center> <button class="btn btn-success btn-lg" type="submit">Update</button> - <a href="{% url 'yaksh:index' %}" class="btn btn-primary btn-lg">Cancel</a></center> + <a href="{% url 'yaksh:index' %}" class="btn btn-primary btn-lg">Cancel</a> </fieldset> </form> </div> |