Commit 8e23f5c0 authored by Matúš Valko's avatar Matúš Valko
Browse files

added new team

parent 96257d23
Pipeline #141499 passed with stage
in 1 minute and 5 seconds
<%@ 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="New Team">
<jsp:attribute name="body">
<form:form method="post" action="${pageContext.request.contextPath}/team/create"
modelAttribute="teamCreate" cssClass="form-horizontal">
<div class="form-group ${name_error?'has-error':''}">
<form:label path="name" cssClass="col-sm-2 control-label">Name</form:label>
<div class="col-sm-10">
<form:input path="name" cssClass="form-control"/>
<form:errors path="name" cssClass="help-block"/>
<div class="form-group">
<form:label path="country" cssClass="col-sm-2 control-label">Country</form:label>
<div class="col-sm-10">
<form:select path="country" cssClass="form-control">
<c:forEach items="${countries}" var="c">
<form:option value="${c}">${c}</form:option>
<form:errors path="country" cssClass="error"/>
<button class="btn btn-primary" type="submit">Create Team</button>
\ No newline at end of file
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