Sha256: 7cca7b0dd00aa6aec5daae2448336ba6830f03d945e22c1ac15c7f43f0177a9b

Contents?: true

Size: 668 Bytes

Versions: 4

Compression:

Stored size: 668 Bytes

Contents

- mentorship_cycle = mentorship_group.mentorship_cycle
- raise('expected a mentorship cycle') unless mentorship_cycle.present?

- if mentorship_cycle.rich_text_group_content.present?
  .mt-4= mentorship_cycle.rich_text_group_content

= effective_table_with(mentorship_group) do |f|
  = f.static_field :mentorship_cycle
  = f.static_field :title

%h3= mentorship_group_users_label

%table.table.table-sm
  %tbody
    - mentorship_group.mentorship_group_users.each do |mentorship_group_user|
      - user = mentorship_group_user.user

      %tr
        %td= mentorship_role_badge(mentorship_group_user.mentorship_role)
        %td= user
        %td= mail_to(user.email)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
effective_mentorships-0.2.2 app/views/effective/mentorship_groups/_mentorship_group.html.haml
effective_mentorships-0.2.1 app/views/effective/mentorship_groups/_mentorship_group.html.haml
effective_mentorships-0.2.0 app/views/effective/mentorship_groups/_mentorship_group.html.haml
effective_mentorships-0.1.0 app/views/effective/mentorship_groups/_mentorship_group.html.haml