<commit_before>{include file='header.tpl'}
{include file='navbar.tpl'}

<div class="container">
  <div class="card">
    <div class="card-body">
      <form action="" method="post">
        <h2>{$CONNECT_WITH_AUTHME}</h2>
        <hr />

        {if isset($ERRORS)}
          <div class="alert alert-danger">
            {foreach from=$ERRORS item=error}
              {$error}<br />
            {/foreach}
          </div>
        {/if}

        <div class="alert alert-info">
          <p>{$AUTHME_SUCCESS}</p>
          {$AUTHME_INFO}
        </div>

        <div class="form-group">
          <label for="inputEmail">{$EMAIL}</label>
          <input type="email" id="inputEmail" name="email" class="form-control" placeholder="{$EMAIL}">
        </div>

        {if isset($NICKNAME)}
          <div class="form-group">
            <label for="inputNickname">{$NICKNAME}</label>
            <input type="text" id="inputNickname" name="nickname" class="form-control" placeholder="{$NICKNAME}">
          </div>
        {/if}

        <div class="form-group">
          <input type="hidden" name="token" value="{$TOKEN}">
          <input type="submit" value="{$SUBMIT}" class="btn btn-primary">
        </div>
      </form>
    </div>
  </div>
</div>

{include file='footer.tpl'}<commit_msg>Fix Authme step 2 template for DefaultRevamp<commit_after>{include file='header.tpl'}
{include file='navbar.tpl'}

<h2 class="ui header">
  {$CONNECT_WITH_AUTHME}
</h2>

{if count($ERRORS)}
  <div class="ui error icon message">
    <i class="x icon"></i>
    <div class="content">
      <div class="header">{$ERROR}</div>
      <ul class="list">
        {foreach from=$ERRORS item=error}
          <li>{$error}</li>
        {/foreach}
      </ul>
    </div>
  </div>
{/if}

<div class="ui padded segment" id="authme-email">
  <div class="ui stackable grid">
    <div class="ui centered row">
      <div class="ui sixteen wide tablet ten wide computer column">
      
        <div class="ui success icon message">
          <i class="check icon"></i>
          <div class="content">
            <div class="header">{$AUTHME_SUCCESS}</div>
            {$AUTHME_INFO}
          </div>
        </div>
      
        <form class="ui form" action="" method="post" id="form-authme-email">
          <div class="field">
            <label for="inputEmail">{$EMAIL}</label>
            <input type="email" id="inputEmail" name="email" placeholder="{$EMAIL}">
          </div>

          {if isset($NICKNAME)}
            <div class="field">
              <label for="inputNickname">{$NICKNAME}</label>
              <input type="text" id="inputNickname" name="nickname" placeholder="{$NICKNAME}">
            </div>
          {/if}

          <div class="field">
            <input type="hidden" name="token" value="{$TOKEN}">
            <input type="submit" class="ui primary button" value="{$SUBMIT}">
          </div>
        </form>
      </div>
    </div>
  </div>
</div>

{include file='footer.tpl'}

<div class="container">
  <div class="card">
    <div class="card-body">
      <form action="" method="post">
        <h2>{$CONNECT_WITH_AUTHME}</h2>
        <hr />

        {if isset($ERRORS)}
          <div class="alert alert-danger">
            {foreach from=$ERRORS item=error}
              {$error}<br />
            {/foreach}
          </div>
        {/if}
      </form>
    </div>
  </div>
</div>

{include file='footer.tpl'}
{'fraction_non_alphanumeric': 0.18646046104464548, 'fraction_numerical': 0.0020426028596440037, 'mean_word_length': 2.2187793427230047, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3946735', 'n_tokens_mistral': 1087, 'n_tokens_neox': 1083, 'n_words': 230}