<.focus_box> <:title>Enter password <:subtitle> This link is password-protected. Please enter the password to continue to the dashboard. <.form :let={f} for={@conn} action={Routes.stats_path(@conn, :authenticate_shared_link, @link.slug) <> "?#{@query_string}"} method="post" >
<.input type="password" field={f[:password]} /> <%= if @conn.assigns[:error] do %>
{@conn.assigns[:error]}
<% end %>
<.button type="submit" class="w-full"> Continue