<title>{{ settings['site_seo'] }}</title>
{% include 'header.twig' %}

<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">

      {% if errorText %}
        <div class="alert alert-dismissible alert-danger">
          <button type="button" class="close" data-dismiss="alert">&times;</button>
          {{ errorText }}
        </div>
      {% endif %}
      {% if successText %}
        <div class="alert alert-dismissible alert-success">
          <button type="button" class="close" data-dismiss="alert">&times;</button>
          {{ successText }}
        </div>
      {% endif %}

      <div class="well">
        <form  method="post" action="">

          <div class="form-group">
            <label for="username" class="control-label">{{ lang['signin.username'] }}</label>
            <input type="text" class="form-control" name="username">
          </div>
          <div class="form-group  form-group__password">
            <label for="password" class="control-label">{{ lang['signin.password'] }}</label>
            <input type="password" class="form-control" name="password">
            {% if resetPage %}
             <a href="resetpassword" class="forgot-password"> {{ lang['signin.password.lost'] }}</a>
            {% endif %}
          </div>
          <div class="checkbox">
            <label>
              <input type="checkbox" name="remember" value="1">{{ lang['signin.remember'] }}
            </label>
          </div>

          {% if captcha %}
            <div class="form-group">
              <div class="g-recaptcha" data-sitekey="{{ captchaKey }}"></div>
            </div>
          {% endif %}

          <button type="submit" class="btn btn-primary click">{{ lang['signin.button'] }}</button>
          </form>
      </div>
    </div>
  </div>
</div>

<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">
      <div class="well ">
        {{ contentText }}
      </div>
    </div>
  </div>
</div>

{% include 'footer.twig' %}
