#refreshpassword-page

  - $this->pageTitle=Yii::app()->name . ' - New password'
  - $logos = param('logos')
  - $titles = param('appTitles')

  - $loginLogo = $logos['login']
  - $mainTitle = $titles['main_title']
  - $subTitle = $titles['sub_title']

  .row
    .span6
    - if(isset($loginLogo))
      %center  
        -if($mainTitle)
          %h2
            != $mainTitle
        -if($subTitle)
          %h3
            != $subTitle
          
        %img.login-logo(src="#{Yii::app()->baseUrl}/images/#{$loginLogo}")
   

    .span4.refreshpassword-box.offset2

      %h2= Yii::t('app','Change password')

      - $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', |
          array(                                                   |
            'id'=>'refreshpassword-form',                          |
            'focus' => array($model,$modelfocus),                  |
          )                                                        |
        )                                                          |

      != $form->errorSummary($model)
      != $form->textFieldRow($model,'username', array('class'=>'span4', 'placeholder'=>'username', 'readonly'=>'readonly'))
      != $form->passwordFieldRow($model,'old_password', array('class'=>'span4', 'placeholder'=>'old password'))
      != $form->passwordFieldRow($model,'new_password', array('class'=>'span4', 'placeholder'=>'new password'))
      != $form->passwordFieldRow($model,'repeat_new_password', array('class'=>'span4', 'placeholder'=>'repeat new password'))

      - $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'label'=> Yii::t('app', 'Change password')))
      - $this->endWidget()
