No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

profile.html 867B

1234567891011121314151617181920212223242526272829303132
  1. {% extends "base.html" %}
  2. {% load crispy_forms_tags %}
  3. {% block content %}
  4. <div class="row">
  5. <div class="col-sm-6">
  6. <div class="panel panel-default">
  7. <div class="panel-heading">User Info</div>
  8. <div class="panel-body">
  9. <div class="form-group">
  10. <label class="control-label">User <span class="glyphicon glyphicon-ok-sign text-success"></span></label>
  11. <p class="form-control-static">{{ user }}</p>
  12. </div>
  13. </div>
  14. </div>
  15. </div>
  16. <div class="col-sm-6">
  17. <div class="panel panel-default">
  18. <div class="panel-heading">Change Password</div>
  19. <div class="panel-body">
  20. <form method="POST" action="{% url "profile" %}">
  21. {% csrf_token %}
  22. {{ pwForm|crispy }}
  23. <button type="submit" class="btn btn-primary" name="submit" value="pwchange">Change Password</button>
  24. </form>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. {% endblock %}