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

                 
                     

                    













                                                                                                    

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

{{define "body"}}
<h4>S'identifier</h4>

<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}}