Commit e3b473e4 authored by Anya Habana's avatar Anya Habana

Changed list style type to ordered list for displaying Widget Users

parent 511e4e76
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
<h1 class="homepage-heading">Welcome to Widget!</h1> <h1 class="homepage-heading">Welcome to Widget!</h1>
<h2 class="homepage-subheading">Widget Users:</h2> <h2 class="homepage-subheading">Widget Users:</h2>
{% if user_list %} {% if user_list %}
<ul> <ol>
{% for user in user_list %} {% for user in user_list %}
<li><a href="/users/{{ user.id }}/details/"></a>{{ forloop.counter }}. {{ user.last_name }}, {{ user.first_name }} {{ user.middle_name }}</li> <li><a href="/users/{{ user.id }}/details/"></a>{{ user.last_name }}, {{ user.first_name }} {{ user.middle_name }}</li>
{% endfor %} {% endfor %}
</ul> </ol>
{% else %} {% else %}
<p> There are no widget users currently. </p> <p> There are no widget users currently. </p>
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment