<tiles:insert template="/WEB-INF/view/common/admin/layout.jsp" flush="true">
	<tiles:put name="title"><bean:message key="labels.design_configuration" /></tiles:put>
	<tiles:put name="header" value="/WEB-INF/view/common/admin/header.jsp" />
	<tiles:put name="footer" value="/WEB-INF/view/common/admin/footer.jsp" />
	<tiles:put name="menu" value="/WEB-INF/view/common/admin/menu.jsp" />
	<tiles:put name="menuType" value="design" />
	<tiles:put name="headerScript" type="string"></tiles:put>
	<tiles:put name="body" type="string">

<div id="main">

	<div>
		<html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages>
		<html:errors/>
	</div>
<c:if test="${editable}">
	<s:form>
	<div class="form-table">
		<table style="width:500px;">
            <caption><bean:message key="labels.design_title_edit_content"/></caption>
			<tbody>
				<tr>
					<th>
						${f:h(jspFileName)}
					</th>
				</tr>
				<tr>
					<td style="text-align:center;">
						<html:textarea property="content" style="width:98%" rows="20"></html:textarea>
					</td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td>
						<input type="submit" name="update" value="<bean:message key="labels.design_button_update"/>"/>
						<input type="submit" name="back" value="<bean:message key="labels.design_button_back"/>"/>
					</td>
				</tr>
			</tfoot>
		</table>
	</div>
	<html:hidden property="fileName"/>
	</s:form>
</c:if>
</div>

	</tiles:put>
</tiles:insert>
