app/views/admin/application/static/_postal_address.html.erb
<%
depth ||= 1
indentation = ' ' * depth
l10n ||= nil
language ||= about.language
address_formatter = Osuny::AddressFormatter.new(about: about, l10n: l10n, language: language)
%>
<%= indentation %>postal_address:
<%= indentation %> data:
<%= indentation %> address: >-
<%= indentation %> <%= address_formatter.address %>
<%= indentation %> address_additional: >-
<%= indentation %> <%= address_formatter.address_additional %>
<%= indentation %> zipcode: >-
<%= indentation %> <%= address_formatter.zipcode %>
<%= indentation %> city: >-
<%= indentation %> <%= address_formatter.city %>
<%= indentation %> country: >-
<%= indentation %> name: >-
<%= indentation %> <%= address_formatter.country %>
<%= indentation %> alpha2: >-
<%= indentation %> <%= address_formatter.country_alpha2 %>
<%= indentation %> alpha3: >-
<%= indentation %> <%= address_formatter.country_alpha3 %>
<%= indentation %> country: >-
<%= indentation %> <%= address_formatter.country %>
<%= indentation %> text: >-
<%= indentation %> <%= prepare_text_for_static address_formatter.to_s %>
<%= indentation %> html: >-
<%= indentation %> <%= address_formatter.to_html.html_safe %>