Added a ticket view route

This commit is contained in:
2022-11-20 23:38:16 -05:00
parent 830a950bf4
commit 95bf9250e7
4 changed files with 33 additions and 1 deletions

20
views/ticket/view.twig Normal file
View File

@ -0,0 +1,20 @@
{% extends 'layout.twig' %}
{% block title %}Home{% endblock %}
{% block content %}
<div class="row">
<div class="columns twelve">
<h1>{{ ticket.title }}</h1>
<h5 class="ticket-created">Created at {{ ticket.created_at }} | Last updated at {{ ticket.updated_at }}</h5>
</div>
</div>
<hr>
<div class="row">
<div class="columns twelve">
<p>{{ ticket.body }}</p>
</div>
</div>
{% endblock %}