aboutsummaryrefslogblamecommitdiff
path: root/templates/login.html
blob: 080188400df4f5ddfc603fb4789f86d02d7e2a91 (plain) (tree)
1
2
3
4
5
                         

                 

                    













                                                                                                    

       
{{define "title"}}{{end}}

{{define "body"}}

<form method="POST">
  {{if .ErrorMessage}}
    <div class="alert alert-danger">Impossible de se connecter.
      <div style="font-size: 0.8em">{{ .ErrorMessage }}</div>
    </div>
  {{end}}
  <div class="form-group">
    <label for="username">Nom d'utilisateur:</label>
    <input type="text" name="username" id="username" class="form-control" value="{{ .Username }}" />
  </div>
  <div class="form-group">
    <label for="password">Mot de passe:</label>
    <input type="password" name="password" id="password" class="form-control" />
  </div>
  <button type="submit" class="btn btn-primary">Se connecter</button>
</form>
{{end}}