<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" class="no-js"  ng-app="myapp" lang="{$SelCurrLanguage}">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$language.lblResetPassword} : {$commonMetaTitle}</title>
    <meta name="Description" content="{$commonMetaDescription}" />
    <meta name="viewport" content="width=device-width">
    <meta name="Keywords" content="{$commonMetaKeywords}" />
    {form->rootpath_script}
    {form->basepath_script}
    {include file='CommonStyles.tpl'  }
    {include file='CommonJavaScript.tpl'  }
  </head>
  <body ng-controller="SearchCtrl" class="{$languageDirection}">
      {*<!-- Begin : Outer Pane -->*}
    <div id="main">
      {*<!-- Begin : Header Pane--> *}
      {include file='CommonTop.tpl'} 														
      {*<!-- End : Header -->*}														
      <div id="content-wrapper" ng-show="!query" class="pt-3 pb-4">
        <div class="container">
        <div class="row">
            <div class="content-block col-lg-6 col-md-7 col-sm-12 mx-auto light-bg reset-pw clearfix mt-4">
            <div class="bx-shadow p-4">
            {if $linkNotValid|default:''} 
            <div class="error-message">{$linkNotValid}</div>
            {else}	
            <h2>{$language.lblResetPassword}</h2>
            <div id="common_message"></div>
            <div id="common_message_forgot" ></div>
            {if $messageSuccess|default:''}
            &nbsp;<br>
            <div class="success-message"> {$messageSuccess}</div>
            {else}
            {form->start name="formResetPassword" method="post"}
            <fieldset class="form1 form1 ">
              <ul class="clearfix">
               
                <li class="form-group">
                  
                    <label class="pos-rel"> {$language.lblNewPassword} <span class="mndty">*</span> <span class="help slip"><span class="icon-question"></span> <span class="pw-text">{$language.msgPassword}</span></span></label>
                  
                   {form->password validate_event="submit" class="form-control"  autocomplete="off"  validate="required~*isSecurePassword" error=$language.errPassword|cat:"~*"|cat:$language.errValidPassword  name="userPassword1" tabindex="2" maxlength="15"}
                    
                </li>
               <li class="form-group">
                  
                    <label>{$language.lblConfirm} {$language.lblNewPassword}  <span class="mndty">*</span></label>
                 
                 {form->password validate_event="submit" autocomplete="off"  class="form-control" validate="required~*userPassword1->compare->value" error=$language.errPassword|cat:"~*"|cat:$language.errConfirmPassword  name="userNewPassword" tabindex="3" maxlength="15"} 
                </li>
                <li> 
                  {form->submit name="resetPassword" id="submit" class="btn btn-primary" form="formResetPassword" value=$language.lblSubmitText} 
                </li>
              </ul>
            </fieldset>
            {form->close}
            {/if}
            {/if}
            </div>
          </div>
          </div>
        </div>
        </div>
        {*<!-- End : Content Pane --> *}
      {*<!-- Begin : Footer	Pane --> *}
      {include file='CommonBottom.tpl'  } 
      {*<!-- End : Footer Pane --> *}
    </div>
    {include file='CommonJavaScriptBottom.tpl'  }
    {html->script_group_start name="{$compiled_js_path}/account.resetpassword.js"}
    {html->script src="{$common_js}/validate.plugin.js"}
    {html->script_group_end} 
    {html->messages_script id="common_message"}
    {form->validate_script form="formResetPassword"}
  </body>
</html>