nquest/views/team/create.gotmpl

21 lines
No EOL
788 B
Go Template

{{ template "header" . }}
<h1>Новая команда</h1>
<form method="POST">
<div class="col-lg-8 px-0">
{{ if .Error }}
<div class="alert alert-danger" role="alert">{{ .Error }}</div>
{{ end }}
<div class="mb-3 row">
<label for="staticEmail" class="col-sm-4 col-form-label">Название команды</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="name" value="{{ .Name }}">
</div>
</div>
<div class="mb-3 row">
<div class="col-sm-8 offset-md-4">
<input type="submit" class="form-control btn btn-primary" value="Регистрация">
</div>
</div>
</div>
</form>
{{ template "footer" . }}