Commits

christiansalazar committed 5d5be1b

EYuiForm html layout description

  • Participants
  • Parent commits 9915e9a

Comments (0)

Files changed (1)

File EYuiForm.php

 /**
  * EYuiForm class file. please view readme for details on input arguments.
  *
+ 
+	HTML LAYOUT:
+ 
+	<div id='DIVID' class='eyuiform'>
+		<h1>form title</h1>
+		<div class='pages'>
+		
+			<div class='page'>
+				<div class='groups'>
+				
+					<div class='group'>
+						<h1>{groupTitle}</h1>
+						<p class='info'>{groupDescr}</p>
+							<ul class='fields'>
+							
+								<li class='{fieldClassName}'>
+									<label>fieldLabel</label><br/>
+									<span class='fieldspan'>{input component}</span>
+										<span class='loader'></span>
+									<div class='info'>
+										{fieldDescription}
+										<div class='error'></div>
+									</div>
+								</li>
+								
+								<!-- next field -->
+								<li></li>
+								
+							</ul>
+						<hr/>
+					</div>
+					
+					<!-- next group -->
+					<div class='group'>
+						..fields..
+					</div>
+					
+				</div>
+			</div>
+			
+			<!-- next page.. -->
+			<div class='page'>
+				...etc...
+			</div>
+			
+		</div>
+		<br/>
+		<hr/>
+		<span id='DIVID_saving'></span>
+		<div id='DIVID_logger'></div>
+	</div> 
+ 
+ 
  * Present a form filled by users.
  * @author Christian Salazar <christiansalazarh@gmail.com>
  * @link https://bitbucket.org/christiansalazarh/eyui