goipam/web/templates/formatting.templ

13 lines
250 B
Plaintext
Raw Normal View History

2024-02-22 10:18:59 +01:00
package templates
// columns takes components and arranges them in columns
templ columns(columns ...templ.Component) {
<div class="columns is-centered">
for _, column := range columns {
<div class="column">
@column
</div>
}
</div>
}