File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,25 @@ defmodule AlgoraWeb.Org.SettingsLive do
154154 </ . card_content >
155155 </ . card >
156156
157+ < . card :if = { @ current_user . is_admin } >
158+ < . card_header >
159+ < . card_title > Ashby Integration</ . card_title >
160+ < . card_description >
161+ Configure Ashby API integration for this organization (Admin only)
162+ </ . card_description >
163+ </ . card_header >
164+ < . card_content >
165+ < . simple_form for = { @ form } phx-change = "validate " phx-submit = "save " >
166+ < div class = "flex flex-col gap-6 " >
167+ < . input field = { @ form [ :ashby_api_key ] } label = "Ashby API Key " type = "text " />
168+ < . input field = { @ form [ :ashby_source_id ] } label = "Ashby Source ID " type = "text " />
169+ < . input field = { @ form [ :ashby_user_id ] } label = "Ashby User ID " type = "text " />
170+ < . button class = "ml-auto " > Save</ . button >
171+ </ div >
172+ </ . simple_form >
173+ </ . card_content >
174+ </ . card >
175+
157176 < . card >
158177 < . card_header >
159178 < . card_title > Bot Templates</ . card_title >
You can’t perform that action at this time.
0 commit comments