# frozen_string_literal: true module Renalware module DeviseHelper def custom_devise_error_messages! return "" if resource.errors.empty? messages = resource.errors.full_messages.map { |msg| content_tag(:li, msg) }.join html = <<-HTML
HTML html.html_safe end def devise_error_messages? resource.errors.empty? ? false : true end end end