Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
684 B · 17 lines
at main
123456789101112131415161718<Layouts.app flash={@flash}> <.header> Set up git-sync <:subtitle> Point git-sync at your Forgejo instance. Register an OAuth2 application there first, with <code>{GitSyncWeb.RedirectUri.forgejo_callback(@conn)}</code> as its redirect URI. </:subtitle> </.header> <.form for={@form} id="setup-form" action={~p"/setup"}> <.input field={@form[:base_url]} label="Forgejo URL" placeholder="https://codeberg.org" /> <.input field={@form[:client_id]} label="Client ID" /> <.input field={@form[:client_secret]} type="password" label="Client secret" /> <.button id="save-setup" type="submit">Save and verify</.button> </.form></Layouts.app>