From d0bcdb19421c2af1f5b4485a882ebb821c7374a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20J=C3=A4ggi?= Date: Mon, 18 Sep 2023 10:55:16 +0200 Subject: [PATCH] fix contact data fields --- .../participation_contact_datas/_fields_youth.html.haml | 2 +- app/views/events/_attrs.html.haml | 6 +++--- app/views/group/educations/index.html.haml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/event/participation_contact_datas/_fields_youth.html.haml b/app/views/event/participation_contact_datas/_fields_youth.html.haml index 85724a4f..3f5ba596 100644 --- a/app/views/event/participation_contact_datas/_fields_youth.html.haml +++ b/app/views/event/participation_contact_datas/_fields_youth.html.haml @@ -12,7 +12,7 @@ Person::NATIONALITIES_J_S, :to_s, Proc.new { |n| t("activerecord.attributes.person.nationalities_j_s.#{n}") }, { include_blank: true }, - { class: 'span6' }) + { class: 'form-select form-select-sm' }) - if entry.person != current_user = hidden_field_tag(:person_id, entry.person.id) diff --git a/app/views/events/_attrs.html.haml b/app/views/events/_attrs.html.haml index 59876048..f11fdcb7 100644 --- a/app/views/events/_attrs.html.haml +++ b/app/views/events/_attrs.html.haml @@ -5,13 +5,13 @@ - if @declined_invitations.present? = render 'banner_declined_invitation' -#main.row-fluid - %article.span7 +#main.row + %article.col-7 = render 'attrs_primary' = render_extensions 'show_left' - %aside.span5 + %aside.col-5 = render 'attrs_contact' - if entry.participant_types.present? diff --git a/app/views/group/educations/index.html.haml b/app/views/group/educations/index.html.haml index 85f0520e..4e97c8a2 100644 --- a/app/views/group/educations/index.html.haml +++ b/app/views/group/educations/index.html.haml @@ -11,11 +11,11 @@ #main %p .legend.is-inline - .legend-title= t('.legende') + .legend-title.pt-3= t('.legende') .legend-list - .legend-item= t('.valid') - .legend-item.text-warning= t('.valid_until_end_of_year') - .legend-item.muted= t('.can_be_reactivated') + .legend-item.pt-3= t('.valid') + .legend-item.pt-3.text-warning= t('.valid_until_end_of_year') + .legend-item.pt-3.muted= t('.can_be_reactivated') .pagination-bar