.form-group
  .form-container
    label.form-label User accounts

    - if (resource.account.try(:users) || []).any?
      ul.list-unstyled.list-actions
        - (resource.account.try(:users) || []).each do |user|
          li
            = link_to "#", class: "ellipsis"
              = "#{user.full_name} (#{user.email})"
    - else
      p
        em.text-muted No users were added.

.form-group
  .form-container
    label.form-label User accounts

    - if (resource.account.try(:users) || []).any?
      ul.list-unstyled.list-actions
        - (resource.account.try(:users) || []).each do |user|
          li
            = link_to edit_admin_user_path(user), "#{user.full_name} (#{user.email})"
    - else
      p
        em.text-muted No users were added.

Fix a broken link to edit the user when you click on their name
Fix a broken link to edit the user when you click on their name

bitzesty/qae,bitzesty/qae,bitzesty/qae,bitzesty/qae