2023-08-07 13:31:42 +00:00
|
|
|
<div>
|
2023-12-07 18:06:32 +00:00
|
|
|
<form class="flex flex-col gap-2 pb-6" wire:submit='submit'>
|
2023-08-07 13:31:42 +00:00
|
|
|
<div class="flex gap-2">
|
2025-10-13 13:38:59 +00:00
|
|
|
<x-forms.input canGate="update" :canResource="$storage" label="Name" id="name" />
|
|
|
|
|
<x-forms.input canGate="update" :canResource="$storage" label="Description" id="description" />
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="flex gap-2">
|
2025-10-13 13:38:59 +00:00
|
|
|
<x-forms.input canGate="update" :canResource="$storage" required label="Endpoint" id="endpoint" />
|
|
|
|
|
<x-forms.input canGate="update" :canResource="$storage" required label="Bucket" id="bucket" />
|
|
|
|
|
<x-forms.input canGate="update" :canResource="$storage" required label="Region" id="region" />
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="flex gap-2">
|
2025-08-26 08:27:31 +00:00
|
|
|
<x-forms.input canGate="update" :canResource="$storage" required type="password" label="Access Key"
|
2025-10-13 13:38:59 +00:00
|
|
|
id="key" />
|
2025-08-26 08:27:31 +00:00
|
|
|
<x-forms.input canGate="update" :canResource="$storage" required type="password" label="Secret Key"
|
2025-10-13 13:38:59 +00:00
|
|
|
id="secret" />
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
2025-08-26 08:27:31 +00:00
|
|
|
@can('validateConnection', $storage)
|
|
|
|
|
<x-forms.button class="mt-4" isHighlighted wire:click="testConnection">
|
|
|
|
|
Validate Connection
|
|
|
|
|
</x-forms.button>
|
|
|
|
|
@endcan
|
2023-08-07 13:31:42 +00:00
|
|
|
</form>
|
|
|
|
|
</div>
|