2022-11-20 22:25:29 -05:00
|
|
|
{% extends 'layout.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Create new ticket{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="columns twelve">
|
|
|
|
<h1>Create new ticket</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="columns twelve">
|
2022-11-21 22:21:38 -05:00
|
|
|
<form id="ticket-form" action="/ticket/create" method="POST" class="u-full-width">
|
2022-11-20 22:25:29 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="six columns">
|
|
|
|
<label for="ticket_title">Title</label>
|
|
|
|
<input id="ticket_title" class="u-full-width" type="text" placeholder="My new ticket" name="ticket_title">
|
|
|
|
</div>
|
|
|
|
<div class="columns three">
|
|
|
|
<label for="ticket_due">Due at</label>
|
|
|
|
<input id="ticket_due" class="u-full-width" type="datetime-local" name="ticket_due">
|
|
|
|
</div>
|
|
|
|
<div class="three columns">
|
|
|
|
<label for="ticket_severity">Severity level</label>
|
|
|
|
<select id="ticket_severity" class="u-full-width" name="ticket_severity">
|
|
|
|
<option value="low">Low</option>
|
|
|
|
<option value="medium">Medium</option>
|
|
|
|
<option value="high">High</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<label for="ticket_body">Ticket body</label>
|
|
|
|
<textarea id="ticket_body" class="u-full-width" placeholder="Explain what this ticket is about..." name="ticket_body"></textarea>
|
|
|
|
|
2022-11-21 18:48:49 -05:00
|
|
|
<input class="button-primary u-full-width" type="submit" value="Submit">
|
2022-11-20 22:25:29 -05:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|