Plankton_Detector/PlanktonDetector/templates/add_post.html
2024-03-14 23:20:12 +01:00

16 lines
447 B
HTML

{%extends 'base.html'%}
{%load static%}
{%block extracss%}
<link rel="stylesheet" href="{% static 'Community/css/add_post.css' %}">
{%endblock extracss%}
{%block content%}
<form method="POST" id="add_post">
{% csrf_token %}
{{form}}
{{form.media}}
<input type="submit" value="Add post" id="submit" class="btn btn-primary">
</form>
<script>
document.getElementById("id_title").classList.add("rounded")
</script>
{%endblock content%}