1.1 --- a/src/main/webapp/WEB-INF/dynamic_fragments/project-form.jsp Fri May 22 16:21:31 2020 +0200 1.2 +++ b/src/main/webapp/WEB-INF/dynamic_fragments/project-form.jsp Fri May 22 16:21:59 2020 +0200 1.3 @@ -43,23 +43,25 @@ 1.4 <tbody> 1.5 <tr> 1.6 <th><fmt:message key="thead.name"/></th> 1.7 - <td><input name="name" type="text" maxlength="20" required value="${project.name}"/> </td> 1.8 + <td><input name="name" type="text" maxlength="20" required value="${project.name}"/></td> 1.9 </tr> 1.10 <tr> 1.11 <th class="vtop"><fmt:message key="thead.description"/></th> 1.12 - <td><input type="text" name="description" maxlength="200" value="${project.description}" /> </td> 1.13 + <td><input type="text" name="description" maxlength="200" value="${project.description}"/></td> 1.14 </tr> 1.15 <tr> 1.16 <th><fmt:message key="thead.repoUrl"/></th> 1.17 - <td><input name="repoUrl" type="url" maxlength="50" value="${project.repoUrl}" /> </td> 1.18 + <td><input name="repoUrl" type="url" maxlength="50" value="${project.repoUrl}"/></td> 1.19 </tr> 1.20 <tr> 1.21 <th><fmt:message key="thead.owner"/></th> 1.22 <td> 1.23 <select name="owner"> 1.24 - <option value="-1"><fmt:message key="placeholder.null-owner" /> </option> 1.25 + <option value="-1"><fmt:message key="placeholder.null-owner"/></option> 1.26 <c:forEach var="user" items="${users}"> 1.27 - <option <c:if test="${not empty project.owner and user.id eq project.owner.id}">selected</c:if> value="${user.id}"><c:out value="${user.displayname}"/></option> 1.28 + <option 1.29 + <c:if test="${not empty project.owner and user.id eq project.owner.id}">selected</c:if> 1.30 + value="${user.id}"><c:out value="${user.displayname}"/></option> 1.31 </c:forEach> 1.32 </select> 1.33 </td> 1.34 @@ -68,9 +70,10 @@ 1.35 <tfoot> 1.36 <tr> 1.37 <td colspan="2"> 1.38 - <input type="hidden" name="id" value="${project.id}" /> 1.39 - <a href="./${moduleInfo.modulePath}/" class="button"><fmt:message bundle="${lightpit_bundle}" key="button.cancel"/></a> 1.40 - <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay" /></button> 1.41 + <input type="hidden" name="id" value="${project.id}"/> 1.42 + <a href="./${moduleInfo.modulePath}/" class="button"><fmt:message bundle="${lightpit_bundle}" 1.43 + key="button.cancel"/></a> 1.44 + <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button> 1.45 </td> 1.46 </tr> 1.47 </tfoot>