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.
 
 

17 lines
607 B

{% 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 %}