Permalink
Browse files

add link to delete reviews

  • Loading branch information...
1 parent d98f9b8 commit da4848f3079fbb85bc675788262284416f9d8089 @lukeman lukeman committed Dec 20, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 symposion/templates/reviews/review_detail.html
View
8 symposion/templates/reviews/review_detail.html
@@ -124,6 +124,14 @@
<div class="vote pull-left">
<span>{{ review.vote }}</span>
</div>
+ {% if is_manager %}
+ <div class="pull-right">
+ <form class="form-inline" action="{% url review_delete review.id %}" method="POST">
+ {% csrf_token %}
+ <button class="btn btn-mini btn-danger" type="submit">Delete</button>
+ </form>
+ </div>
+ {% endif %}
<div class="review-content">
<b>{% user_display review.user %}</b>
{{ review.submitted_at|timesince }} ago <br />

0 comments on commit da4848f

Please sign in to comment.