%head
   %link( rel="stylesheet" href="/entrance.css" )

%body
   %img.pTB80( src="/phluid_logo.png" alt="phluid logo" )

   - if @error.present?
      %div#error.pT12.pB4.center
         = @error

   - if @uid
      %div.pT12.pB4.center
         reset password for
      %div.pB4.center
         = @uid

      %form( method="post" action="/reset/#{ @token }" )
         = hidden_field_tag( :authenticity_token, form_authenticity_token() )

         %div.pT12.pB4.center
            new password
         %input( type="password" name="pw" )

         %div.pT12.pB4.center
            confirm password
         %input( type="password" name="pw2" )

         %button.mT36( type="submit" )
            reset password

         %div.login_secondary.pT12.pB4.center
            %a#link_forgot( href="/" )
               back to login
