wisemapping-open-source/wise-webapp/src/main/webapp/jsp/newMap.jsp

49 lines
1.7 KiB
Plaintext
Raw Normal View History

2009-06-07 20:59:43 +02:00
<%@ include file="/jsp/init.jsp" %>
<h1>
</h1>
<div>
<form:form method="post" commandName="newMap">
<table>
<tr>
<td class="formLabel">
<span class="fieldRequired">*</span>
<spring:message code="NAME"/>
:
</td>
<td>
<form:input path="title" id="title" tabindex="1"/>
<form:errors path="title" cssClass="errorMsg"/>
</td>
</tr>
<tr>
<td class="formLabel">
<spring:message code="DESCRIPTION"/>
:
</td>
<td>
<form:input path="description" id="description" tabindex="2"/>
<form:errors path="description" cssClass="errorMsg"/>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn-primary">
<c:choose>
<c:when test="${!errorView}">
2011-10-15 18:23:27 +02:00
<input type="button" value="<spring:message code="CANCEL"/>" class="btn-secondary"
2009-06-07 20:59:43 +02:00
onclick="MOOdalBox.close();">
</c:when>
<c:otherwise>
2011-10-15 18:23:27 +02:00
<input type="button" value="<spring:message code="BACK"/>" class="btn-secondary"
2009-06-07 20:59:43 +02:00
onclick="window.location='mymaps.htm'">
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
</form:form>
</div>