account.xhtml

26 lines | 1.061 kB Blame History Raw Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core" template="template-main.xhtml">

	<ui:define name="header">Edit Account</ui:define>
	
	<ui:define name="content">
		<form action="#" method="post">
			<div>
            	<label for="name">#{messages.fullName}</label>
                <input type="text" id="name" name="name" value="#{forms.formData['name']}" />
			</div>
            <div>
            	<label for="email">#{messages.email}</label>
				<input type="text" id="email" name="email" value="#{forms.formData['email']}" />
			</div>
			<div>
				<label for="username">#{messages.username}</label>
				<input type="text" id="username" name="username" value="#{forms.formData['username']}" />
			</div>

			<input type="button" value="Cancel" />
			<input type="submit" value="Save" />
		</form>
	</ui:define>
</ui:composition>