docbrown/app/views/users/_metadata.html.erb
yheuhtozr a93e9f1aa7
I18nize users (non-settings) & logo designer (#15078)
* users (mostly non-settings), logo designer i18n

* remove ja.yml

* Update _profile.html.erb

* Update _metadata.html.erb

* Update _sidebar.html.erb

* Update en.yml

* Update fr.yml

* Apply suggestions from code review

Co-authored-by: Michael Kohl <citizen428@forem.com>

* Update _profile.html.erb

* Update en.yml

* Update fr.yml

* Update _logo_design.html.erb

Co-authored-by: Michael Kohl <citizen428@forem.com>
2021-10-27 17:11:28 -04:00

14 lines
530 B
Text

<% if (header_fields = @profile.ui_attributes_for(area: :header)).present? %>
<div class="profile-header__bottom fs-base">
<% header_fields.sort.each do |title, value| %>
<div class="crayons-definition">
<strong class="crayons-definition__title">
<%= sanitized_sidebar t("views.users.profile_fields.#{title}", default: title.titleize) %>
</strong>
<p class="crayons-definition__value">
<%= sanitized_sidebar value %>
</p>
</div>
<% end %>
</div>
<% end %>