1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" 5 xmlns:template="http://www.boddie.org.uk/ns/xmltools/template"> 6 <head> 7 <title>Candidate</title> 8 </head> 9 <body template:element="candidate"> 10 <form action="" method="POST" enctype="multipart/form-data"> 11 12 <h1>Candidate Details</h1> 13 14 <table border="0" cellspacing="0" cellpadding="5" width="80%" align="left"> 15 <tbody> 16 <tr> 17 <th colspan="2">General</th> 18 </tr> 19 <tr template:element="identity"> 20 <th width="30%">Name</th> 21 <td width="70%"> 22 <input template:attribute-field="name" name="..." type="text" /><br /> 23 Anonymous 24 <input template:attribute-button="anonymous,true,checked" name="..." value="..." type="checkbox" /> 25 </td> 26 </tr> 27 <tr> 28 <th width="30%">Work status</th> 29 <td width="70%"> 30 <select template:multiple-choice-field="status,value" name="..."> 31 <option template:multiple-choice-value="status-enum,value,selected"/> 32 </select> 33 </td> 34 </tr> 35 <tr> 36 <th colspan="2">Skills</th> 37 </tr> 38 <tr template:element="skills,skill"> 39 <th width="30%">Skill</th> 40 <td width="70%"> 41 <input template:attribute-field="value" type="text" name="..." /> 42 <input template:selector-field="remove" type="submit" name="..." value="Remove" /> 43 </td> 44 </tr> 45 <tr> 46 <th width="30%"></th> 47 <td width="70%"> 48 <input template:selector-field="add-skill,skill" type="submit" name="..." value="Add" /> 49 </td> 50 </tr> 51 <tr> 52 <th colspan="2">Qualifications</th> 53 </tr> 54 </tbody> 55 <tbody template:element="qualifications,qualification"> 56 <tr> 57 <th width="30%">Course/Diploma/Title</th> 58 <td width="70%"> 59 <input template:attribute-field="title" type="text" name="..." /> 60 <input template:selector-field="remove" type="submit" name="..." value="Remove" /> 61 </td> 62 </tr> 63 <tr> 64 <th width="30%">Grade/Level/Class</th> 65 <td width="70%"> 66 <input template:attribute-field="grade" type="text" name="..." /> 67 </td> 68 </tr> 69 <tr> 70 <th width="30%">Institution</th> 71 <td width="70%"> 72 <input template:attribute-field="institution" type="text" name="..." /> 73 </td> 74 </tr> 75 </tbody> 76 <tbody> 77 <tr> 78 <th width="30%"></th> 79 <td width="70%"> 80 <input template:selector-field="add-qualification,qualification" type="submit" name="..." value="Add" /> 81 </td> 82 </tr> 83 </tbody> 84 <tbody> 85 <tr> 86 <th colspan="2">Experience</th> 87 </tr> 88 </tbody> 89 <tbody template:element="experience,employment"> 90 <tr> 91 <th width="30%">Employment</th> 92 <td width="70%"> 93 From <input template:attribute-field="from" type="text" name="..." /> 94 to <input template:attribute-field="to" type="text" name="..." /> 95 <input template:selector-field="remove" type="submit" name="..." value="Remove" /> 96 </td> 97 </tr> 98 <tr> 99 <th width="30%">Employer</th> 100 <td width="70%"> 101 <input template:attribute-field="employer" type="text" name="..." /> 102 </td> 103 </tr> 104 </tbody> 105 <tbody> 106 <tr> 107 <th width="30%"></th> 108 <td width="70%"> 109 <input template:selector-field="add-employment,employment" type="submit" name="..." value="Add" /> 110 </td> 111 </tr> 112 <tr> 113 <th width="30%">Picture</th> 114 <td width="70%"> 115 <input template:attribute-field="new-picture" type="file" name="..." /> 116 <input template:attribute-field="picture" type="hidden" name="..." value="..." /> 117 </td> 118 </tr> 119 <tr> 120 <th width="30%"></th> 121 <td width="70%"> 122 <img template:if="@picture != ''" src="images/{@picture}" alt="{@picture}" /> 123 </td> 124 </tr> 125 <tr> 126 <th width="30%"></th> 127 <td width="70%"> 128 <input type="submit" name="update" value="Update" /> 129 <input type="submit" name="show" value="Show..." /> 130 <input type="submit" name="admin" value="Admin..." /> 131 </td> 132 </tr> 133 </tbody> 134 </table> 135 136 </form> 137 </body> 138 </html>