go-cook-portal/views/components/bootstrap/table.templ
2024-04-09 07:29:45 -07:00

16 lines
293 B
Plaintext

package bootstrap
templ Table(header []string) {
<table class="table">
<thead>
<tr>
for _, item := range header{
<th scope="col">{ item }</th>
}
</tr>
</thead>
<tbody>
</tbody>
</table>
}