Fix bug empty

This commit is contained in:
Xavier J 2016-12-07 15:53:26 +01:00
parent 6f731f700f
commit 3153eeaf01

View file

@ -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}"}