summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/forum.html
diff options
context:
space:
mode:
authordhiru <dhirusingh11@gmail.com>2014-05-10 18:01:10 +0530
committerdhiru <dhirusingh11@gmail.com>2014-05-10 18:01:10 +0530
commit5139219a64de1b6618d5a90c14da5a950e0e5ff3 (patch)
treefd984b63888de586496d95cfcb2b20747babc0da /gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/forum.html
parent4968976e79c476cb740dd64a1b0825acecbc2cb1 (diff)
downloadgnowsys-5139219a64de1b6618d5a90c14da5a950e0e5ff3.tar.gz
edited template for new urls
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/forum.html')
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/forum.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/forum.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/forum.html
index d1db5035..6d514ff2 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/forum.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/forum.html
@@ -16,13 +16,13 @@
{% endblock %}
{% block body_content %}
-
+{% get_group_name groupid as group_name_tag %}
<header class="row">
<div class="medium-12 columns">
{% if user.is_authenticated %}
- <a href="{% url 'create_forum' groupid %}">
+ <a href="{% url 'create_forum' group_name_tag %}">
<input type="submit" class="button" value="Create a New forum" />
</a>
@@ -37,7 +37,7 @@
{% for each in existing_forums %}
<li class="card">
- <a href="{% url 'show' groupid each %}">
+ <a href="{% url 'show' group_name_tag each %}">
<h3>{{each.name}}</h3>
<p class="fixme">This is the forum description text</p>
</a>