| <html> |
| <head> |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> |
| </head> |
| <body> |
| <table class="table table-striped"> |
| <thead class="thead-dark" align="left"> |
| <tr> |
| <th scope="col">Requirements</th> |
| <th scope="col">Tests</th> |
| </tr> |
| </thead> |
| <tbody> |
| [%for (r in Requirement.all){%] |
| <tr> |
| <td>[%=r.id%]</td> |
| <td>[%=Test.all.select(t|t.requirement = r).collect(t|t.id).concat(", ")%]</td> |
| </tr> |
| [%}%] |
| </tbody> |
| </table> |
| |
| </body> |
| </html> |