	<% @tickets.each do |ticket| %>
		<div class="oneTicket">
			<p><span class="label">Category:</span> <%= ticket.category %></p>
			<p><span class="label">Description: </span><%=ticket.description %></p>
				<% if ticket.resolved == true %>
					<p><span class="label">Resolved:</span> Yes</p>
				<% else %>
					<p><span class="label">Resolved:</span> No</p>	
				<% end %>
			<p><span class="label">Student:</span> <%= User.find(ticket.student_id).first_name %> <%= User.find(ticket.student_id).last_name %></p>
			<form id="resolvedButton" method="post" action="/tickets/<%= ticket.id %>" value="<%= ticket.id %>">
    		<button type="submit">Resolved?</button>
			</form>
		</div>
			<% end %>
	<% @tickets.each do |ticket| %>
		<div class="oneTicket">
			<p><span class="label">Category:</span> <%= ticket.category %></p>
			<p><span class="label">Description: </span><%=ticket.description %></p>
				<% if ticket.resolved == true %>
					<p><span class="label">Resolved:</span> Yes</p>
				<% else %>
					<p><span class="label">Resolved:</span> No</p>	
				<% end %>
			<p><span class="label">Student:</span> <%= User.find(ticket.student_id).first_name %> <%= User.find(ticket.student_id).last_name %></p>
			<p><span class="label">Created: </span>
				<% if ticket.age[0] != 0 %>
				<%= ticket.age[0] %> hrs, 
				<%= ticket.age[1] %> min ago
				<% else %>
				<%= ticket.age[1] %> minutes ago
				<% end %>

			</p>
			<form id="resolvedButton" method="post" action="/tickets/<%= ticket.id %>" value="<%= ticket.id %>">
    		<button type="submit">Resolved?</button>
			</form>
		</div>
			<% end %>
Add View For Ticket Age
Add View For Ticket Age
