<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:use-macro="container/page_macro/macros/master_page">

<span tal:omit-tag="" metal:fill-slot="main_content_slot">

<!--<label tal:replace="options/unamelist" />-->

	<br />
	<br />
	<h2 i18n:translate="" tal:content="options/htitle">Customizable content. UserManager.py, line 444,448</h2>
	<table class="gray_table">
		<form action="manage_addingUsers_handler" method="post" tal:omit-tag="options/theEnd">
			<th style="text-align:left" i18n:translate="">Username</th>
			<th style="text-align:left" tal:content="options/stat_text" i18n:translate="">Password</th>
			<th style="text-align:left" i18n:translate="">First name</th>
			<th style="text-align:left" i18n:translate="">Last name</th>
			<th style="text-align:left" i18n:translate="">Affiliation</th>
			<span tal:omit-tag="" tal:repeat="key options/unamelist/keys">
				<span tal:define="ulist options/unamelist;v python:ulist[key]">
        			<tr>
        				<td tal:condition="not:options/theEnd">
							<input type="text" name="unames:list" value="" tal:attributes="value v/uName" />
						</td>
						<td tal:condition="options/theEnd" tal:content="v/uName" />
        				<td i18n:translate="" tal:content="v/Error"></td>
        				<td tal:condition="not:options/theEnd">
							<input type="text" name="fnames:list" value="" tal:attributes="value v/fName" />
						</td>
						<td tal:condition="options/theEnd" tal:content="v/fName" />
        				<td tal:condition="not:options/theEnd">
							<input type="text" name="lnames:list" value="" tal:attributes="value v/lName" />
						</td>
						<td tal:condition="options/theEnd" tal:content="v/lName" />
 			       			<td tal:condition="python:int(options['affiliation'])>-1" tal:content="python:context.getAffiliations()[int(options['affiliation'])]">content here</td>
						<td tal:condition="python:int(options['affiliation'])<0">-</td>
					</tr>
				</span>
			</span>
		<tr>
			<td colspan="5"><input tal:omit-tag="options/theEnd" type="submit" i18n:attributes="value" value="Continue" name="contB" /></td>
		</tr>
		<input type="hidden" name="affiliation" value="" tal:attributes="value options/affiliation" />
		</form>
	</table>
</span>
 
</html>

