defmodule LokalWeb.Components.InviteCard do @moduledoc """ Display card for an invite """ use LokalWeb, :component alias LokalWeb.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 %>