Commit 96257d23 authored by Matúš Valko's avatar Matúš Valko
Browse files

added team list

parent 1e0972de
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="utf-8" trimDirectiveWhitespaces="false" session="false" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="my" %>
<%@ taglib prefix="c" uri="" %>
<%@ taglib prefix="fmt" uri="" %>
<%@ taglib prefix="s" uri="" %>
<%@ taglib prefix="form" uri="" %>
<my:pagetemplate title="Teams">
<jsp:attribute name="body">
<my:a href="/team/new" class="btn btn-primary">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
New tournament
<table class="table">
<c:forEach items="${teams}" var="team">
<td><c:out value="${}"/></td>
<td><c:out value="${}"/></td>
<my:a href="/team/view/${}" class="btn btn-primary">View</my:a>
<form method="post" action="${pageContext.request.contextPath}/team/delete/${}">
<button type="submit" class="btn btn-primary">Delete</button>
\ No newline at end of file
......@@ -18,7 +18,7 @@
<th>prize pool</th>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment