<%@ include file="/includes.jsp" %>
<%@ taglib prefix="smvc" uri="http://www.springframework.org/tags/form"%>
<c:set var="type" value="${formObject.type}"/>
<c:set var="title" value="${formObject.childName}"/>
<c:set var="objType" value="${fn:substring(title, 0, fn:length(title) -1)}" />
<table class="dialogBox" style="margin: 0;" border=0 width="100%">
	<tr>
		<td class="dialogTitle" colspan="3">Add New <c:out value="${title}"/></td>
	</tr>
	<tr>
		<td width="20"></td>
		<td class="input" align="left">Name<br/><smvc:input size="15" title="Enter a unique name for the new ${objType}" path="newName" id="formObjectNameNew"/></td>
		<td class="input" align="left">Label<br/><smvc:input size="20" title="Enter a descriptive label for the new ${objType}" path="newLabel"/></td>
	</tr>
		<tr>
		<td width="20"></td>
		<td colspan="2" align="right"><input type="submit" value="Create" onclick="return dispatch('createChild')"/></td>
	</tr>
</table>
