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 775B

123456789101112131415161718192021222324
  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. {% if messages %}
  15. {% for message in messages %}
  16. <div {% if message.tags %} class="{{ message.tags }}" {% endif %}>{{ message }}</div>
  17. {% endfor %}
  18. {% endif %}
  19. <form class="post-form" method="post">
  20. {% csrf_token %} {{form.as_p}}
  21. <button type="submit" class="save btn btn-outline-dark">Save</button>
  22. </form>
  23. {% endblock %}