- if flash[:alert].present?
  .alert-box.alert.animated.shake
    .large-12.large-centered.columns
      h4 = t('words.fix-erros-below')
      p = flash[:alert]
- elsif resource.errors.present?
  .alert-box.alert.animated.shake
    .large-12.large-centered.columns
      h4 = t('words.fix-erros-below')
      - resource.errors.messages.each do |message|
        - if message[0] == :reset_password_token
          p Please click on the password reset link from the most resent email.
        - else
          p = message[1].to_sentence

- if flash[:alert].present?
  .alert-box.alert.animated.shake
    .large-12.large-centered.columns
      h4 = t('words.fix-erros-below')
      p = flash[:alert]
- elsif resource.errors.present?
  .alert-box.alert.animated.shake
    .large-12.large-centered.columns
      h4 = t('words.fix-erros-below')
      - resource.errors.messages.each do |message|
        - if message[0] == :reset_password_token
          p Please click on the password reset link from the most resent email.
        - elsif message[0] == :confirmation_token
          p Your token is invalid! Try sending the confirmation instructions again.
        - else
          p = message[1].to_sentence

Add friendly message when devise token is invalid
Add friendly message when devise token is invalid

jinutm/silvfinal,jinutm/silverme,jinutm/silveralms.com,jinutm/silverprod,raksonibs/raimcrowd,MicroPasts/micropasts-crowdfunding,jinutm/silverpro,rockkhuya/taydantay,jinutm/silverprod,gustavoguichard/neighborly,gustavoguichard/neighborly,raksonibs/raimcrowd,jinutm/silverme,jinutm/silverpro,jinutm/silverpro,jinutm/silverme,jinutm/silvfinal,raksonibs/raimcrowd,jinutm/silveralms.com,jinutm/silveralms.com,jinutm/silverclass,rockkhuya/taydantay,raksonibs/raimcrowd,MicroPasts/micropasts-crowdfunding,rockkhuya/taydantay,jinutm/silverclass,jinutm/silvfinal,MicroPasts/micropasts-crowdfunding,jinutm/silverclass,MicroPasts/micropasts-crowdfunding,jinutm/silverprod,gustavoguichard/neighborly