From b8a625005cc16010f2d4878e5f70505f52184464 Mon Sep 17 00:00:00 2001 From: Graham McIntie Date: Sat, 14 Feb 2026 16:29:32 -0600 Subject: [PATCH] Fix NetBox config: show saved URL/API token when opening Configure --- .../live/org/settings_live.html.heex | 42 ++++++++++++------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/lib/towerops_web/live/org/settings_live.html.heex b/lib/towerops_web/live/org/settings_live.html.heex index b995f36a..cbe778d3 100644 --- a/lib/towerops_web/live/org/settings_live.html.heex +++ b/lib/towerops_web/live/org/settings_live.html.heex @@ -1101,22 +1101,32 @@ Write permission is required if you want to push data to NetBox.

- <.input - field={@integration_form[:url]} - type="url" - label="NetBox URL" - placeholder="https://netbox.example.com" - autocomplete="off" - value={get_credential(@integrations["netbox"], "url")} - /> - <.input - field={@integration_form[:api_token]} - type="password" - label="API Token" - placeholder="Enter your NetBox API token" - autocomplete="off" - value={get_credential(@integrations["netbox"], "api_token")} - /> +
+ + +
+
+ + +