mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 05:46:04 +01:00
empty != blank
This commit is contained in:
parent
58e80919df
commit
f76e997708
1 changed files with 4 additions and 4 deletions
|
@ -24,21 +24,21 @@
|
|||
|
||||
%p.data-heading Bio
|
||||
%p.text-muted
|
||||
- if current_user.bio.empty?
|
||||
- if current_user.bio.blank?
|
||||
None set!
|
||||
- else
|
||||
= current_user.bio
|
||||
|
||||
%p.data-heading Location
|
||||
%p.text-muted
|
||||
- if current_user.location.empty?
|
||||
- if current_user.location.blank?
|
||||
None set!
|
||||
- else
|
||||
= current_user.location
|
||||
|
||||
%p.data-heading Website
|
||||
%p.text-muted
|
||||
- if current_user.website.empty?
|
||||
- if current_user.website.blank?
|
||||
None set!
|
||||
- else
|
||||
= current_user.website
|
||||
|
@ -159,7 +159,7 @@
|
|||
|
||||
%p.data-heading Locale
|
||||
%p.text-muted
|
||||
- if current_user.locale.empty?
|
||||
- if current_user.locale.blank?
|
||||
None set!
|
||||
- else
|
||||
= current_user.locale
|
||||
|
|
Loading…
Reference in a new issue