src/main/webapp/WEB-INF/dynamic_fragments/user-form.jsp

changeset 72
0646c14e36fb
parent 69
2223bd79e0c6
equal deleted inserted replaced
71:dca186d3911f 72:0646c14e36fb
40 <col style="width: 50ch"> 40 <col style="width: 50ch">
41 </colgroup> 41 </colgroup>
42 <tbody> 42 <tbody>
43 <tr> 43 <tr>
44 <th><fmt:message key="thead.username"/></th> 44 <th><fmt:message key="thead.username"/></th>
45 <td><input name="username" type="text" maxlength="50" required value="${user.username}" <c:if test="${user.id ge 0}">readonly</c:if> /> </td> 45 <td><input name="username" type="text" maxlength="50" required value="${user.username}"
46 <c:if test="${user.id ge 0}">readonly</c:if> /></td>
46 </tr> 47 </tr>
47 <tr> 48 <tr>
48 <th><fmt:message key="thead.givenname"/></th> 49 <th><fmt:message key="thead.givenname"/></th>
49 <td><input name="givenname" type="text" maxlength="50" value="${user.givenname}"/> </td> 50 <td><input name="givenname" type="text" maxlength="50" value="${user.givenname}"/></td>
50 </tr> 51 </tr>
51 <tr> 52 <tr>
52 <th><fmt:message key="thead.lastname"/></th> 53 <th><fmt:message key="thead.lastname"/></th>
53 <td><input name="lastname" type="text" maxlength="50" value="${user.lastname}"/> </td> 54 <td><input name="lastname" type="text" maxlength="50" value="${user.lastname}"/></td>
54 </tr> 55 </tr>
55 <tr> 56 <tr>
56 <th><fmt:message key="thead.mail"/></th> 57 <th><fmt:message key="thead.mail"/></th>
57 <td><input name="mail" type="email" maxlength="50" value="${user.mail}"/> </td> 58 <td><input name="mail" type="email" maxlength="50" value="${user.mail}"/></td>
58 </tr> 59 </tr>
59 </tbody> 60 </tbody>
60 <tfoot> 61 <tfoot>
61 <tr> 62 <tr>
62 <td colspan="2"> 63 <td colspan="2">
63 <input type="hidden" name="userid" value="${user.id}" /> 64 <input type="hidden" name="userid" value="${user.id}"/>
64 <a href="./${moduleInfo.modulePath}/" class="button"><fmt:message bundle="${lightpit_bundle}" key="button.cancel"/></a> 65 <a href="./${moduleInfo.modulePath}/" class="button"><fmt:message bundle="${lightpit_bundle}"
65 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay" /></button> 66 key="button.cancel"/></a>
67 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button>
66 </td> 68 </td>
67 </tr> 69 </tr>
68 </tfoot> 70 </tfoot>
69 </table> 71 </table>
70 </form> 72 </form>

mercurial