Paulo Gustavo Veiga 873e635b9a Fix import.
2012-04-15 08:10:53 -03:00

45 lines
1.7 KiB
Plaintext

<%@ include file="/jsp/init.jsp" %>
<div id="importContainer">
<form:form method="post" commandName="importMap" enctype="multipart/form-data">
<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 class="formLabel">
<span class="fieldRequired">*</span>
<spring:message code="FREE_MIND_FILE"/>:
</td>
<td>
<input type="file" name="mapFile"/>
<form:errors path="mapFile" cssClass="errorMsg"/>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" value="<spring:message code="IMPORT"/>" class="btn-primary">
<input type="button" value="<spring:message code="CANCEL"/>" class="btn-secondary"
onclick="window.location='/c/mymaps.htm'">
</td>
</tr>
</table>
</form:form>
</div>