<div class="form-group">
  <label for="passwort" class="col-sm-3 control-label">{tmpl_var name='password_txt'}</label>
  <div class="col-sm-9">
    <div class="input-group">
      <input type="password" name="passwort" id="passwort" value="{tmpl_var name='passwort'}" class="form-control" autocomplete="off" onkeyup="pass_check(this.value);checkPassMatch('passwort','repeat_password');" />
      <span class="input-group-btn">
      <button class="btn btn-default" type="button" onclick="generatePassword('passwort','repeat_password');">{tmpl_var name='generate_password_txt'}</button>
      </span>
    </div>
  </div>
</div>
<div class="form-group">
  <label class="col-sm-3 control-label">{tmpl_var name='password_strength_txt'}</label>
  <div class="col-sm-9 checkbox">
    <div id="passBar"></div>
    <span id="passText">&nbsp;</span>
  </div>
</div>
<div class="form-group">
  <label for="repeat_password" class="col-sm-3 control-label">{tmpl_var name='repeat_password_txt'}</label>
  <div class="col-sm-9"><input type="password" name="repeat_password" id="repeat_password" value="" class="form-control" autocomplete="off"  onkeyup="checkPassMatch('passwort','repeat_password');" /></div>
</div>
<div class="form-group">
  <div class="col-sm-offset-3 col-sm-9">
    <div id="confirmpasswordError" style="display:none;" class="confirmpassworderror">{tmpl_var name='password_mismatch_txt'}</div>
    <div id="confirmpasswordOK" style="display:none;" class="confirmpasswordok">{tmpl_var name='password_match_txt'}</div>
  </div>
</div>
<div class="form-group">
  <label for="language" class="col-sm-3 control-label">{tmpl_var name='language_txt'}</label>
  <div class="col-sm-9"><select name="language" id="language" class="form-control flags">
    {tmpl_var name='language'}
    </select>
  </div>
</div>
<!-- TODO: If user theme change is activated -->
<div class="form-group">
  <label for="app_theme" class="col-sm-3 control-label">{tmpl_var name='app_theme_txt'}</label>
  <div class="col-sm-9"><select name="app_theme" id="app_theme" class="form-control">
    {tmpl_var name='app_theme'}
    </select>
  </div>
</div>
<!-- TODO: Limit to activated modules -->
<div class="form-group">
  <label for="startmodule" class="col-sm-3 control-label">{tmpl_var name='startmodule_txt'}</label>
  <div class="col-sm-9"><select name="startmodule" id="startmodule" class="form-control">
    {tmpl_var name='startmodule'}
    </select>
  </div>
</div>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
<div class="clear">
  <div class="right">
    <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="tools/user_settings.php">{tmpl_var name='btn_save_txt'}</button>
    <button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="tools/index.php">{tmpl_var name='btn_cancel_txt'}</button>
  </div>
</div>
