16 lines
447 B
HTML
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%} |