36 <colgroup> |
36 <colgroup> |
37 <col> |
37 <col> |
38 <col style="width: 50ch"> |
38 <col style="width: 50ch"> |
39 </colgroup> |
39 </colgroup> |
40 <tbody> |
40 <tbody> |
|
41 <c:if test="${not empty viewmodel.errorMessages}"> |
|
42 <tr> |
|
43 <td colspan="2"><%@include file="../jspf/error-messages.jspf" %></td> |
|
44 </tr> |
|
45 </c:if> |
41 <tr> |
46 <tr> |
42 <th><fmt:message key="username"/></th> |
47 <th><fmt:message key="username"/></th> |
43 <td><input name="username" type="text" maxlength="50" required value="<c:out value="${user.username}"/>" |
48 <td><input name="username" type="text" maxlength="200" required value="<c:out value="${user.username}"/>" |
44 <c:if test="${user.id ge 0}">readonly</c:if> /></td> |
49 <c:if test="${user.id ge 0}">readonly</c:if> /></td> |
45 </tr> |
50 </tr> |
46 <tr> |
51 <tr> |
47 <th><fmt:message key="user.givenname"/></th> |
52 <th><fmt:message key="user.givenname"/></th> |
48 <td><input name="givenname" type="text" maxlength="50" value="<c:out value="${user.givenname}"/>" /></td> |
53 <td><input name="givenname" type="text" maxlength="200" value="<c:out value="${user.givenname}"/>" /></td> |
49 </tr> |
54 </tr> |
50 <tr> |
55 <tr> |
51 <th><fmt:message key="user.lastname"/></th> |
56 <th><fmt:message key="user.lastname"/></th> |
52 <td><input name="lastname" type="text" maxlength="50" value="<c:out value="${user.lastname}"/>" /></td> |
57 <td><input name="lastname" type="text" maxlength="200" value="<c:out value="${user.lastname}"/>" /></td> |
53 </tr> |
58 </tr> |
54 <tr> |
59 <tr> |
55 <th><fmt:message key="user.mail"/></th> |
60 <th><fmt:message key="user.mail"/></th> |
56 <td><input name="mail" type="email" maxlength="50" value="<c:out value="${user.mail}"/>" /></td> |
61 <td><input name="mail" type="email" maxlength="200" value="<c:out value="${user.mail}"/>" /></td> |
57 </tr> |
62 </tr> |
58 </tbody> |
63 </tbody> |
59 <tfoot> |
64 <tfoot> |
60 <c:if test="${not empty viewmodel.errorText}"> |
|
61 <tr> |
|
62 <td colspan="2"> |
|
63 <div class="error-box"> |
|
64 <fmt:message key="${viewmodel.errorText}"/> |
|
65 </div> |
|
66 </td> |
|
67 </tr> |
|
68 </c:if> |
|
69 <tr> |
65 <tr> |
70 <td colspan="2"> |
66 <td colspan="2"> |
71 <input type="hidden" name="userid" value="${user.id}"/> |
67 <input type="hidden" name="userid" value="${user.id}"/> |
72 <a href="./users/" class="button"> |
68 <a href="./users/" class="button"> |
73 <fmt:message key="button.cancel"/> |
69 <fmt:message key="button.cancel"/> |