Skip to content

Commit

Permalink
add correct translations to siblings_in_context
Browse files Browse the repository at this point in the history
  • Loading branch information
diegosteiner committed Sep 21, 2023
1 parent c5e0f07 commit a1e49ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/people/_details_pbs.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
- siblings_in_context = entry.siblings_in_context(sibling_context)
= labeled(t('people.fields_pbs.siblings_in_context', context: sibling_context)) do
- if siblings_in_context.any?
= simple_list siblings_in_context do |sibling_role|
= t('global.yes')
= simple_list(siblings_in_context, class: 'unstyled mb-0') do |sibling_role|
- assoc_link(sibling_role.person)
- else
= t('global.associations.no_entry')
= t('global.no')

= render_attrs(entry, :entry_date, :leaving_date)

0 comments on commit a1e49ea

Please sign in to comment.