defmodule MemexWeb.Components.InviteCard do @moduledoc """ Display card for an invite """ use MemexWeb, :component alias MemexWeb.Endpoint def invite_card(assigns) do ~H"""
<%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %>
<%= if @code_actions do %>
<%= render_slot(@code_actions) %>
<% end %>