mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Revert "297 email address validation truemail"
This commit is contained in:
parent
1094c41fa3
commit
6900ce1127
33 changed files with 158 additions and 964 deletions
|
@ -108,14 +108,4 @@ module ApplicationHelper
|
|||
def body_css_class
|
||||
[controller_path.split('/').map!(&:dasherize), action_name.dasherize, 'page'].join('-')
|
||||
end
|
||||
|
||||
def verified_email_span(verification)
|
||||
content_tag(:span, verification.email, class: verified_email_class(verification))
|
||||
end
|
||||
|
||||
def verified_email_class(verification)
|
||||
return 'text-danger' if verification.failed?
|
||||
return 'text-primary' if verification.not_verified?
|
||||
return 'text-success' if verification.verified?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue