</tr>
<tr>
<th>Soldiers</th>
- <td>${city.population}</td>
+ <td>${city.soldiers}</td>
<td>
<form hx-post="/units">
<input type="number" name="amount" size="6" max="${city.population}" hx-trigger="keyup" hx-post="/cost/training" hx-target="#${unit.soldiers.slug}-cost">
</tr>
<tr>
<th>Attackers</th>
- <td>${city.soldiers}</td>
+ <td>${city.attackers}</td>
<td>
<form hx-post="/units">
<input type="number" name="amount" size="6" max="${city.soldiers}" hx-trigger="keyup" hx-post="/cost/training" hx-target="#${unit.attackers.slug}-cost">
</tr>
<tr>
<th>Defenders</th>
- <td>${city.soldiers}</td>
+ <td>${city.defenders}</td>
<td>
<form hx-post="/units">
<input type="number" name="amount" size="6" max="${city.soldiers}" hx-trigger="keyup" hx-post="/cost/training" hx-target="#${unit.defenders.slug}-cost">
</tr>
<tr>
<th>Special Attackers</th>
- <td>${city.attackers}</td>
+ <td>${city.sp_attackers}</td>
<td>
<form hx-post="/units">
<input type="number" name="amount" size="6" max="${city.attackers}" hx-trigger="keyup" hx-post="/cost/training" hx-target="#${unit.sp_attackers.slug}-cost">
</tr>
<tr>
<th>Special Defenders</th>
- <td>${city.defenders}</td>
+ <td>${city.sp_defenders}</td>
<td>
<form hx-post="/units">
<input type="number" name="amount" size="6" max="${city.defenders}" hx-trigger="keyup" hx-post="/cost/training" hx-target="#${unit.sp_defenders.slug}-cost">