{{define "body_content"}}
{{ if ne .UserName "" }}
Sie sind bereits eingeloggt!
{{ else }}
<form class="form-signin" id="login-form" action="/login">
  <div class="column is-auto">
    <div class="columns is-centered">
      <div class="column is-4">
        <h1 class="title">Login</h1>
        <div class="field">
          <p class="control has-icons-left has-icons-right">
           <input id="email" name="email" class="input is-success is-focused" type="text" placeholder="E-Mail">
           <span class="icon is-small is-left">
             <i class="fa fa-envelope"></i>
           </span>
           <span class="icon is-small is-right">
             <i class="fa fa-check"></i>
           </span>
         </p>
       </div>
       <div class="field">
         <p class="control has-icons-left has-icons-right">
           <input id="password" name="password" class="input" type="password" placeholder="Passwort" autocomplete="on">
           <span class="icon is-small is-left">
             <i class="fa fa-lock"></i>
           </span>
           <span class="icon is-small is-right">
             <i class="fa fa-check"></i>
           </span>
         </p>
       </div>
       <div class="has-text-centered">
         <a href="/reset_password.html">Passwort vergessen?</a><br/>
       </div>
       <br>
       <div id="errorbox" class="notification is-danger is-size-7-mobile" style="display: none;">
       </div>
       <div class="has-text-centered">
         <input id="login-button" name="login-button" type="submit" class="form-button button is-primary is-centered" value="Anmelden"></input>
       </div>
     </div>
   </div>
 </div>
</form>
{{end}}
{{end}}
