2024-03-25 10:33:38 +00:00
|
|
|
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
|
|
|
<x-forms.input autofocus placeholder="0 0 * * * or daily" id="frequency" label="Frequency" required />
|
2024-03-21 11:44:32 +00:00
|
|
|
<x-forms.checkbox id="save_s3" label="Save to S3" />
|
|
|
|
<x-forms.select id="selected_storage_id">
|
|
|
|
@if ($s3s->count() === 0)
|
|
|
|
<option value="0">No S3 Storages found.</option>
|
|
|
|
@else
|
|
|
|
@foreach ($s3s as $s3)
|
|
|
|
<option value="{{ $s3->id }}">{{ $s3->name }}</option>
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
</x-forms.select>
|
2024-04-25 10:59:25 +00:00
|
|
|
<x-forms.button type="submit" @click="modalOpen=false">
|
2024-03-21 11:44:32 +00:00
|
|
|
Save
|
|
|
|
</x-forms.button>
|
|
|
|
</form>
|