Commit ae648e24 authored by Adrián Piaček's avatar Adrián Piaček
Browse files

Added conversion for tournament from form

parent 2de3023c
......@@ -23,4 +23,6 @@ public class MatchDTO extends BaseDTO {
private Set<TeamEntity> teams = new HashSet<>();
private Set<PlayerEntity> players = new HashSet<>();
private String tournamentId;
......@@ -13,12 +13,12 @@
<div class="form-group">
<form:label path="tournament" cssClass="col-sm-2 control-label">Tournament</form:label>
<div class="col-sm-10">
<form:select path="tournament" required="required" cssClass="form-control">
<form:select path="tournamentId" required="required" cssClass="form-control">
<c:forEach items="${tournaments}" var="t">
<form:option value="${t}">${}</form:option>
<form:option value="${}">${}</form:option>
<form:errors path="tournament" cssClass="error"/>
<form:errors path="tournamentId" cssClass="error"/>
<div class="form-group">
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