app/views/petitions/_petitioner.html.slim
div.petition-details.petitioner-details
h2.petition-section-title= t('show.overview.all_owners', count: @petition.users.size)
- if ((user_signed_in? && current_user.has_role?(:admin, @petition)) || (user_signed_in? && current_user.has_role?(:admin, @office)))
- @petition.users.each do |owner|
div.petition_field_label= t('show.petitioner.real_name')
div.petition_field_data
= owner.name
|
div.petition_field_label= t('show.petitioner.real_telephone')
div.petition_field_data
= owner.telephone
|
div.petition_field_label= t('show.petitioner.real_email')
div.petition_field_data
= owner.email
|
div.petition_field_label
|
div.petition_field_data
|
div.clearfix