Link to the correct application id

This commit is contained in:
2011-02-22 09:11:07 +00:00
parent b7341184ce
commit b211bc7197

View File

@@ -48,7 +48,7 @@
<tr><th>Recommended Application</th><th>Recommendation Character</th><th>Recommendation Date</th></tr> <tr><th>Recommended Application</th><th>Recommendation Character</th><th>Recommendation Date</th></tr>
{% for rec in user.recommendation_set.all %} {% for rec in user.recommendation_set.all %}
<tr><td> <tr><td>
<tr><td><a href="{% url hr.views.view_application app.id %}">{{ rec.application.character.name }}</a></td> <tr><td><a href="{% url hr.views.view_application rec.application.id %}">{{ rec.application.character.name }}</a></td>
<td>{{ rec.user_character }}</td> <td>{{ rec.user_character }}</td>
<td>{{ rec.recommendation_date }}</td></tr> <td>{{ rec.recommendation_date }}</td></tr>
{% endfor %} {% endfor %}