People

Invite your friend or coworkers

<%= link(to: "https://plausible.io/docs/users-roles", target: "_blank", rel: "noreferrer") do %> <% end %>
<%= if Enum.count(@site.invitations) > 0 do %>

Pending invitations

<%= for invitation <- @site.invitations do %> <% end %>
Email Role Edit
<%= invitation.email %> <%= invitation.role |> Atom.to_string |> String.capitalize %> <%= link("Remove", to: "/sites/invitations/#{invitation.invitation_id}", method: :delete, class: "text-red-600 hover:text-red-900") %>
<% end %>
<%= link(to: Routes.membership_path(@conn, :invite_member_form, @site.domain), class: "button") do %> Invite <% end %>