Commit 6132d5e8be5bd4c8ddc4d7a6845e21644ff56042

Authored by Zambom
1 parent 3b1c0fec

Fixing show edit button after create post [Issue: #215]

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
forum/templates/post/post_render.html
... ... @@ -15,7 +15,7 @@
15 15 <i class="material-icons">more_horiz</i>
16 16 </a>
17 17 <ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1">
18   - <li><a href="javascript:edit_post('{% url 'course:forum:update_post' post.id %}', '{{ post.id }}', '{% trans 'Post edited successfully!' %}')"></li>
  18 + <li><a href="javascript:edit_post('{% url 'course:forum:update_post' post.id %}', '{{ post.id }}', '{% trans 'Post edited successfully!' %}')"><i class="material-icons">create</i> {% trans 'Edit' %}</a></li>
19 19 <li><a href="javascript:delete_post('{% url 'course:forum:delete_post' post.id %}', '{{ post.id }}')"><i class="material-icons">delete_sweep</i> {% trans 'Remove' %}</a></li>
20 20 </ul>
21 21 </div>
... ...