comfycamp/lib/comfycamp_web/controllers/oidc_app_html/oidc_app_form.html.heex

14 lines
565 B
Text

<div>
<.simple_form :let={f} for={@changeset} action={@action}>
<.error :if={@changeset.action}>
Oops, something went wrong! Please check the errors below.
</.error>
<.input field={f[:client_id]} type="text" label="Client ID" readonly />
<.input field={f[:client_secret]} type="password" label="Client secret" readonly />
<.input field={f[:name]} type="text" label="Name" />
<.input field={f[:enabled]} type="checkbox" label="Enabled" />
<:actions>
<.button>Save Oidc app</.button>
</:actions>
</.simple_form>
</div>