Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

student_page.html 1.0KB

12345678910111213141516171819202122232425262728293031
  1. {% extends "base.html" %} {% block content %} {% load taggit_templatetags2_tags %} {% get_taglist as tags for 'application.post'%}
  2. <div id="">
  3. <ul>
  4. {% for tag in tags %}
  5. <li>{{tag}}
  6. <a class="btn btn-outline-dark" href="{% url 'tag_remove' tag.slug %}">
  7. <span class="glyphicon glyphicon-remove">Remove</span>
  8. </a>
  9. </li>
  10. {{ result }} {% endfor %}
  11. </ul>
  12. </div>
  13. <div>
  14. </div>
  15. <form id="searchform" action="{% url 'blog_search_list_view' %}" method="get" accept-charset="utf-8">
  16. <button class="searchbutton" type="submit">
  17. <i class="fa fa-search"></i>
  18. </button>
  19. <input class="searchfield" id="searchbox" name="q" type="text" placeholder="Search">
  20. </form>
  21. <div class="table-responsive">
  22. <table class="table table-striped table-bordered table-hover">
  23. </table>
  24. </div>
  25. <form class="post-form" method="post">
  26. {% csrf_token %} {{form.as_p}}
  27. <button type="submit" class="save btn btn-outline-dark">Save</button>
  28. </form>
  29. {% endblock %}