<head>
	<meta name="layout" content="main" />
	<title>Change Session Timeout</title>
    <nav:resources override="true"/>
</head>

<body onload="document.changeSessionTimeoutForm.sessionTimeout.focus();">        
    <div class="nav">
        <nav:renderSubItems group="nav"/>
    </div>

	<div class="body">
		<g:if test="${flash.message}">
		<div class="message">${flash.message}</div>
		</g:if>
		<g:hasErrors bean="${personInstance}">
		<div class="errors">
			<g:renderErrors bean="${personInstance}" as="list" />
		</div>
		</g:hasErrors>

		<g:form name="changeSessionTimeoutForm" id="changeSessionTimeout">
			<div class="dialog">
				<table>
				<tbody>

					<tr class="prop">
						<td valign="top" class="name">
                            <label for="sessionTimeout">Session timeout:</label>
                        </td>

                        <td valign="top" class="value">
						<input valign="top" class="duration ${hasErrors(bean:personInstance,field:'sessionTimeout','errors')}"
                             type="text" id="sessionTimeout" name="sessionTimeout" value="${fieldValue(bean:personInstance,field:'sessionTimeout')}"/>
                            seconds
					</tr>

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

			<div class="buttons">
				<span class="button"><g:actionSubmit class="save" value="Save" action="changeSessionTimeout"/></span>
			</div>
		</g:form>

	</div>

</body>
