<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" class="no-js" ng-app="myapp">
  <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"> 
      {*<!-- Begin : Outer Pane -->*}
    <div id="main">
      {*<!-- Begin : Header Pane--> *}
      {include file='CommonTop.tpl'} 														
      {*<!-- End : Header -->*}														
       <div id="content-wrapper" ng-show="!query" >
        <div class="container">
            <div class="content-block light-bg reset-pw clearfix">
            {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 padding-top"> {$language.lblNewPassword} <span class="mndty">*</span> <span class="help slip "><span class="icon-question"  data-toggle="popover" tabindex="3" data-trigger="focus" data-content="{$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="1" 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="2" 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>
      {*<!-- 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"}
          <script type="text/javascript">
      
$(document).ready(function(){
    $('[data-toggle="popover"]').popover({
        placement : 'top'
    });
});
   
    </script>
  </body>
</html>