Move contact ident description to helper method

This commit is contained in:
Thiago Youssef 2022-03-14 14:46:31 +02:00
parent dd513b6313
commit fd41d77390
8 changed files with 15 additions and 7 deletions

View file

@ -22,7 +22,7 @@
%dt= t(:ident)
%dd{class: changing_css_class(@version,"ident_country_code", "ident_type", "ident")}
= contact.ident_human_description
= ident_for(contact)
- if contact.email.present?
%dt= t(:email)