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.

34 lines
744 B

  1. {% extends "base.html" %}
  2. {% block content %}
  3. <h1>View User</h1>
  4. <table>
  5. <tr>
  6. <td>Id</td>
  7. <td>{{user.id}}</td>
  8. </tr>
  9. <tr>
  10. <td>Username</td>
  11. <td>{{user.username | safe}}</td>
  12. </tr>
  13. <tr>
  14. <td>Admin</td>
  15. <td>{% if user.admin %} Yes {% else %} False {% endif %}</td>
  16. </tr>
  17. <tr>
  18. <td>Name</td>
  19. <td>{{user.name | safe}}</td>
  20. </tr>
  21. <tr>
  22. <td>Email</td>
  23. <td>{{user.email | safe}}</td>
  24. </tr>
  25. <tr>
  26. <td>Institution</td>
  27. <td>{{user.institution | safe}}</td>
  28. </tr>
  29. <tr>
  30. <td>Position</td>
  31. <td>{{user.position | safe}}</td>
  32. </tr>
  33. </table>
  34. {% endblock %}