Commit c7a45800 authored by Ysabella Panghulan's avatar Ysabella Panghulan

fixed links name format

parent 66458d77
...@@ -13,26 +13,26 @@ ...@@ -13,26 +13,26 @@
{% block body %} {% block body %}
{% block content %} {% block content %}
<div class="main"> <div class="main">
<h2>Forum posts:</h2> <h2>Forum posts:</h2>
<div class="list"> <div class="list">
<ol> <ol>
{% for post in forumposts %} {% for post in forumposts %}
<a href="{{ post.get_absolute_url }}"> <a href="{{ post.get_absolute_url }}">
<li>{{ post.title }} by {{ post.author.first_name }} {{ post.author.last_name }}</li> <li>{{ post.title }} by {{ post.author.first_name }} {{ post.author.last_name }}</li>
</a> </a>
{% endfor %} {% endfor %}
</ol> </ol>
</div>
<a href="forumposts/add" class="add-btn"><i class="fa fa-plus"></i> New Post</a>
</div>
{% endblock %}
<div class="links">
<a href="../dashboard/" class="btn-primary">Dashboard</a>
<a href="../announcements/" class="btn-primary">Announcement Board</a>
<a href="../assignments/" class="btn-primary">Assignments</a>
<a href="../calendar/" class="btn-primary">Calendar</a>
</div> </div>
<a href="forumposts/add" class="add-btn"><i class="fa fa-plus"></i> New Post</a>
</div>
{% endblock %}
<div class="links">
<a href="../dashboard/" class="btn-primary">Dashboard</a>
<a href="../announcements/" class="btn-primary">Announcement</a>
<a href="../assignments/" class="btn-primary">Assignments</a>
<a href="../calendar/" class="btn-primary">Calendar</a>
</div>
{% endblock %} {% endblock %}
\ No newline at end of file
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