<head>
	<meta name="layout" content="main" />
	<title>Create ${requestmapClassName}</title>
</head>

<body>

	<div class="nav">
		<span class="menuButton"><a class="home" href="\${createLinkTo(dir:'')}">Home</a></span>
		<span class="menuButton"><g:link class="list" action="list">${requestmapClassName} List</g:link></span>
	</div>

	<div class="body">
		<h1>Create ${requestmapClassName}</h1>
		<g:if test="\${flash.message}">
		<div class="message">\${flash.message}</div>
		</g:if>
		<g:hasErrors bean="\${requestmap}">
		<div class="errors">
			<g:renderErrors bean="\${requestmap}" as="list" />
		</div>
		</g:hasErrors>
		<g:form action="save">
			<div class="dialog">
				<table>
				<tbody>

					<tr class="prop">
						<td valign="top" class="name"><label for="url">URL Pattern:</label></td>
						<td valign="top" class="value \${hasErrors(bean:requestmap,field:'url','errors')}">
							<input type="text" id="url" name="url" value="\${requestmap.url?.encodeAsHTML()}"/>
						</td>
					</tr>

					<tr class="prop">
						<td valign="top" class="name"><label for="configAttribute">${authorityClassName} (comma-delimited):</label></td>
						<td valign="top" class="value \${hasErrors(bean:requestmap,field:'configAttribute','errors')}">
							<input type="text" id="configAttribute" name="configAttribute" value="\${requestmap.configAttribute?.encodeAsHTML()}"/>
						</td>
					</tr>

				</tbody>
				</table>
			</div>

			<div class="buttons">
				<span class="button"><input class="save" type="submit" value="Create" /></span>
			</div>

		</g:form>

	</div>
</body>
