This type of data is not the data we should be using a table for, and the table here is structural (and nested). As such we should be using divs and ul elements, not table elements, to lay this out. Also, this should be using the formBox container class.

for example:
```html
<div class="formBox">
  <h3>Details</h3>
  {% for module in userInfo %}
  <div class="accordion" ... >
  <!-- all your current looping, using divs as containers instead of nested tables -->
  </div>
  {% endif %}
</div>
```

Using tables for structural purposes is restrictive, and not inline with a CSS based layout. Tabels should only be used for elements that would normally be displayed in a spreadsheet format.