teachers.html.tpl 272 B

12345678910111213141516
  1. {{ define "content" }}
  2. <div class="container">
  3. {{if not .Data}}
  4. <p>Nothing to show.</p>
  5. {{else}}
  6. <div class="list-group" id="myUL">
  7. {{range $teacher := .Data}}
  8. {{$teacher.Surname}} {{$teacher.Name}}
  9. {{end}}
  10. </div>
  11. {{end}}
  12. </div>
  13. {{ end }}