demarches-normaliennes/app/views/shared/champs/dgfip/_foyer_fiscal.html.haml

7 lines
321 B
Text
Raw Normal View History

2021-11-24 17:30:35 +01:00
%table.dgfip
%caption #{t("api_particulier.providers.dgfip.scopes.#{scope}.libelle")} :
- foyer_fiscal.slice('annee', 'adresse', 'nombreParts', 'situationFamille', 'nombrePersonnesCharge').keys.each do |key|
%tr
%th= t("api_particulier.providers.dgfip.scopes.#{scope}.#{key}")
%td= foyer_fiscal[key]