internetee/registry

View on GitHub
app/views/mailers/shared/registrant/_registrant.en.text.erb

Summary

Maintainability
Test Coverage
Name: <%= registrant.name %>
<% if registrant.priv? %>
    Personal code: <%= registrant.ident %>
<% else %>
    Business Registry code: <%= registrant.ident %>
<% end %>
<% if local_assigns[:with_phone] -%>
    Phone: <%= registrant.phone %>
<% end -%>
<% if address_processing -%>
    Street: <%= registrant.street %>
    City: <%= registrant.city %>
    State: <%= registrant.state %>
    Zip-code: <%= registrant.zip %>
    Country: <%= registrant.country %>
<% else %>
    Country: <%= registrant.ident_country %>
<% end -%>