<div class="palm-page-header multi-line">
 <div class="palm-page-header-wrapper">
	<div id="title-icon" class="icon account-icon"></div>
 	<div class="title" id="page-title" style="display:block;">#{title}</div>
 </div>
</div>

<div id="create-form">
	<div class="palm-group">
		<div class="palm-group-title" x-mojo-loc=''>Mail Type</div>
		<div id="mail-type-list" class="palm-list">
			<div class="palm-row single">
				<div class="palm-row-wrapper">
					<div id="mail-type-selector" x-mojo-element="ListSelector"></div>
				</div>
			</div>
		</div>
	</div>
	
	<!-- Hide the email address when editing the account -->
	<div class="palm-group" id="email-address-group">
		<div class="palm-group-title" x-mojo-loc=''>Email Address</div>
		<div class="palm-list">
			<div class="palm-row single">
				<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
					<div class="title">
						<div id="email-address" x-mojo-element="TextField"></div>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<div id="advanced-settings">
		<!-- Incoming Mail Server -->
		<div class="palm-group">
			<div class="palm-group-title" x-mojo-loc=''>Incoming Mail Server</div>
			<div class="palm-list">
				<div class="palm-row first">
					<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
						<div class="title">
							<div id="incoming-host" x-mojo-element="TextField"></div>
						</div>
					</div>
				</div>
				<div id="incoming-eas">
					<div class="palm-row">
						<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
							<div class="title">
								<div class="label" x-mojo-loc=''>Domain</div>
								<div id="eas-domain" x-mojo-element="TextField"></div>
							</div>
						</div>
					</div>
				</div> 
				<div class="palm-row">
					<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
						<div class="title">
							<div class="label" x-mojo-loc=''>Username</div>
							<div id="incoming-login" x-mojo-element="TextField"></div>
						</div>
					</div>
				</div>    
				<div class="palm-row" id="incoming-last-eas-row">
					<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
						<div class="title">
							<div class="label" x-mojo-loc=''>Password</div>
							<div id="incoming-password" x-mojo-element="PasswordField"></div>
						</div>
					</div>
				</div>
				<div id="incoming-pop-imap">
					<div class="palm-row">
						<div class="palm-row-wrapper">                                                         	
							<div x-mojo-element="ListSelector" id="incoming-encryption"></div>
						</div>	
					</div>
					<div class="palm-row last">
						<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
							<div class="title">
								<div class="label" x-mojo-loc=''>Port #</div>
								<div id="incoming-port" x-mojo-element="TextField"></div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div id="outgoing-mail-server" class="palm-group">
			<div class="palm-group-title" x-mojo-loc=''>Outgoing Mail Server</div>
			<div class="palm-list">
				<div class="palm-row first">
					<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
						<div class="title">
							<div id="outgoing-host" x-mojo-element="TextField"></div>
						</div>
					</div>
				</div>
				<div class="palm-row" id="outgoing-auth-toggle-row">
					<div class="palm-row-wrapper">                                                       	
						<div x-mojo-element="ToggleButton" id="outgoing-auth-toggle"></div>
						<div class="title" x-mojo-loc=''>Use Authentication</div>
					</div>
				</div>  
				<div id="outgoing-server-auth-drawer" x-mojo-element="Drawer">
					<div class="palm-row">
						<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
							<div class="title">
								<div class="label" x-mojo-loc=''>Username</div>
								<div id="outgoing-login" x-mojo-element="TextField"></div>
							</div>
						</div>
					</div>
					<div class="palm-row">
						<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
							<div class="title">
								<div class="label" x-mojo-loc=''>Password</div>
								<div id="outgoing-password" x-mojo-element="PasswordField"></div>
							</div>
						</div>
					</div>
				</div>
				<div class="palm-row">
					<div class="palm-row-wrapper">                                              	
						<div x-mojo-element="ListSelector" id="outgoing-encryption"></div>
					</div>
				</div>
				<div class="palm-row last">
					<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
						<div class="title">
							<div class="label" x-mojo-loc=''>Port #</div>
							<div id="outgoing-port" x-mojo-element="TextField"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div id="imap-root-folder" class="palm-group">
			<div class="palm-group-title" x-mojo-loc=''>Root Folder</div>
			<div class="palm-list">
				<div class="palm-row single">
					<div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
						<div class="title">
							<div id="root-folder" x-mojo-element="TextField"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<div id="simple-settings" class="palm-group">
		<div class="palm-group-title" x-mojo-loc=''>Password</div>
		    <div class="palm-list">
		      <div class="palm-row single">
		   	    <div class="palm-row-wrapper textfield-group" x-mojo-focus-highlight="true">
		        <div class="title">
				  <div id="incoming-password" x-mojo-element="PasswordField"></div>
		        </div>
		      </div>
		    </div>
		  </div>
		</div>
	</div>	
	
	
	<div x-mojo-element="Button" id="create-account-button">
	</div>
</div>
