<.focus_box> <:title>New shared link <:subtitle> Password protection is optional. Please make sure you save it in a secure place. Once the link is created, we cannot reveal the password. <.form :let={f} for={@changeset} action={"/sites/#{URI.encode_www_form(@site.domain)}/shared-links"} >
<.input field={f[:name]} label="Name" required="required" autocomplete="off" mt?={false} /> <.input field={f[:password]} label="Password (optional)" type="password" autocomplete="new-password" mt?={false} /> <.button class="w-full mt-4" type="submit" mt?={false}>Create shared link