Commit 6132d5e8be5bd4c8ddc4d7a6845e21644ff56042
1 parent
3b1c0fec
Exists in
master
and in
5 other branches
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,7 +15,7 @@ | ||
15 | <i class="material-icons">more_horiz</i> | 15 | <i class="material-icons">more_horiz</i> |
16 | </a> | 16 | </a> |
17 | <ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1"> | 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 | <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> | 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 | </ul> | 20 | </ul> |
21 | </div> | 21 | </div> |