{# begin {templatelocation} #}

<form action="{site_url}/users.php" method="post" id="loginform">
  <fieldset class="noborder_fieldset">
    <legend class="hidden_legend">{lang_login}</legend>

    {# This is currently setup for the recaptcha plugin. #}
    {# If another solution is used that could work with the block then you could add the captcha template variable #}
    {!if captcha_required}
    
    {!else}    
    <div class="loginform">
      <div class="form_part">
        <label for="loginform-loginname" style="display:none">{lang_username}</label>
        <input type="text" value="" name="loginname" id="loginform-loginname" class="uk-input uk-form-small" placeholder="{lang_username}"{xhtml}>
      </div>

      {services}

      <div class="form_part">
        <label for="loginform-passwd" style="display:none">{lang_password}</label>
        <input type="password" name="passwd" id="loginform-passwd" class="uk-input uk-form-small" placeholder="{lang_password}"{xhtml}>
      </div>
    </div>

    <div class="submit">
      <button type="submit" value="{lang_login}" class="uk-button uk-button-small uk-button-default">{lang_login}</button>
    </div>
    {!endif}    

    <div class="navi">
      {!if captcha_required}<div>{lang_loginform}</div>{!endif}
      <div>{lang_signup}</div>
      <div>{lang_forgetpassword}</div>
    </div>
  </fieldset>
</form>

{!if lang_remoteloginoptions}
<div>{lang_remoteloginoptions}</div>
{oauth_login}
{openid_login}
{!endif}

{# end {templatelocation} #}
