 				</thead>
 				<tbody id="sortable">
 					<cfset thisrowinc=0>
-
+					<cfloop query="orderedClassTermsWithBlanks">
+						<!--- increment rowID ---->
+						<cfset thisrowinc=thisrowinc+1>
+						<tr id="cell_#thisrowinc#">
+							<td class="dragger">
+								(drag row here)
+							</td>
+							<td>
+								<select
+									class="ac_isclass_tt"
+									id="term_type_#thisrowinc#" name="term_type_#thisrowinc#"
+									onchange="guessAtDisplayName(this.id)">
+									<option value=""></option>
+									<cfloop query="cttaxon_term_isclass">
+										<option
+											<cfif cttaxon_term_isclass.taxon_term is orderedClassTermsWithBlanks.term_type> selected="selected" </cfif>
+											value="#taxon_term#">#taxon_term#</option>
+									</cfloop>
+								</select>
+							</td>
+							<td>
+								<cfif orderedClassTermsWithBlanks.status is "autoins">
+									****
+								</cfif>
+
+
+
+											<input size="60" type="text" id="term_#thisrowinc#" name="term_#thisrowinc#" value="#orderedClassTermsWithBlanks.term#" onchange="guessAtDisplayName(this.id)">
+										</td>
+										<td>
+											<span class="likeLink" onclick="deleteThis('#thisrowinc#');">[ Delete this row ]</span>
+										</td>
+									</tr>
+
+					</cfloop>
+
+
+
+
+<!-----------
 					<cfloop query="cttaxon_term_isclass">
 						<cfset shouldHave=false>
 						<cfset dohave=false>


						</cfif>

					</cfloop>
			<input type="text" name="maxposn" id="maxposn" value="#thisrowinc#">




			<!---- now get the ordered stuff ---->

			<cfquery name="orderedClassTermsWithBlanks" dbtype="query">
				select * from mClassTerms order by position_in_classification
			</cfquery>

			<cfdump var=#orderedClassTermsWithBlanks#>



