Fix bug empty
This commit is contained in:
parent
6f731f700f
commit
3153eeaf01
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
- render_partial_url = private ? 'users/description/champs/header_private_section' : 'users/description/champs/header_section'
|
||||
- unless @headers.empty?
|
||||
- unless @headers.blank?
|
||||
- @headers.each do |header|
|
||||
.row
|
||||
%div{class: "type_champ-#{header.type_champ}"}
|
||||
|
|
Loading…
Reference in a new issue