<!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 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 587,590</h2>
	<table class="gray_table">
		<form action="manage_addingUsers_handler" method="post" tal:omit-tag="options/theEnd">
			<th style="text-align:left" tal:content="options/stat_text">Status</th>
			<th style="text-align:left">FirstName</th>
			<th style="text-align:left">LastName</th>
			<th style="text-align:left">UserName</th>
			<th style="text-align:left">Affiliation</th>
			<span tal:omit-tag="" tal:repeat="key options/unamelist/keys">
				<span tal:define="ulist options/unamelist;v python:ulist[key]">
        			<tr>
        				<td i18n:translate="" tal:content="v/Error"></td>
        				<td tal:condition="not:options/theEnd">
							<input type="text" name="fnames" 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" value="" tal:attributes="value v/lName" />
						</td>
						<td tal:condition="options/theEnd" tal:content="v/lName" />
        				<td tal:condition="not:options/theEnd">
							<input type="text" name="unames" value="" tal:attributes="value v/uName" />
						</td>
						<td tal:condition="options/theEnd" tal:content="v/uName" />
        				<td tal:content="python:context.getAffiliations()[int(options['affiliation'])]" tal:on-error="string:"></td>
        			</tr>
				</span>
			</span>
		<tr>
			<td colspan="5"><input tal:omit-tag="options/theEnd" type="submit" value="Continue" name="contB" /></td>
		</tr>
		<input type="hidden" name="affiliation" value="" tal:attributes="value options/affiliation" />
		</form>
	</table>
</span>
 
</html>

