|
|
|
@ -0,0 +1,17 @@ |
|
|
|
{% extends 'base.html' %} |
|
|
|
|
|
|
|
{% block content %} |
|
|
|
<h1>Create Event</h1> |
|
|
|
<form method="post"> |
|
|
|
{% csrf_token %} |
|
|
|
<label for="title">Title:</label> |
|
|
|
<input type="text" id="title" name="title" required> |
|
|
|
<label for="description">Description:</label> |
|
|
|
<textarea id="description" name="description" required></textarea> |
|
|
|
<label for="date">Date:</label> |
|
|
|
<input type="datetime-local" id="date" name="date" required> |
|
|
|
<label for="capacity">Capacity:</label> |
|
|
|
<input type="number" id="capacity" name="capacity" required> |
|
|
|
<button type="submit">Create Event</button> |
|
|
|
</form> |
|
|
|
{% endblock %} |