flashes.gohtml 175 B

123456789
  1. {{define "flashes"}}
  2. {{if .Flashes}}
  3. <ul class="flashes">
  4. {{range $flash := .Flashes}}
  5. <li>{{ $flash }}</li>
  6. {{end}}
  7. </ul>
  8. {{end}}
  9. {{end}}