Skip to content

Commit

Permalink
temporarily disable request a connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay committed Apr 20, 2024
1 parent 4e3459a commit e5c43f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/view/templates/pages/connections/upsert.html
Expand Up @@ -63,7 +63,8 @@
</div>
{{else}}
{{ if not $isRequest }}
<form method="POST" action="/dashboard/connections/request" class="flex flex-row justify-center">
<!-- XXX: disable requests for now because the ui is confusing -->
<!-- <form method="POST" action="/dashboard/connections/request" class="flex flex-row justify-center">
<input type="hidden" name="type" value="{{ .Data.Destination.Type }}">
{{ .CSRFToken }}
<button type="submit" class="w-fit items-center rounded-md bg-neutral-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-neutral-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-neutral-600">
Expand All @@ -77,7 +78,7 @@
<div class="relative flex justify-center">
<span class="bg-white px-2 text-sm text-gray-500">Or</span>
</div>
</div>
</div> -->
{{end}}
<div class="flex flex-row justify-center">
<p>{{$title}}</p>
Expand Down

0 comments on commit e5c43f6

Please sign in to comment.