2023-05-02 10:47:52 +00:00
|
|
|
<div>
|
2023-05-22 10:09:24 +00:00
|
|
|
<form class="flex flex-col gap-4" wire:submit.prevent='submit'>
|
|
|
|
<div class="flex gap-2">
|
|
|
|
<h1>New Destination</h1>
|
|
|
|
<x-inputs.button type="submit">
|
|
|
|
Save
|
|
|
|
</x-inputs.button>
|
|
|
|
</div>
|
2023-05-03 12:09:10 +00:00
|
|
|
<x-inputs.input id="name" label="Name" required />
|
|
|
|
<x-inputs.input id="network" label="Network" required />
|
2023-05-04 08:45:09 +00:00
|
|
|
<x-inputs.select id="server_id" label="Select a server" required>
|
|
|
|
@foreach ($servers as $server)
|
2023-05-16 09:02:51 +00:00
|
|
|
<option disabled>Select a server</option>
|
2023-05-04 08:45:09 +00:00
|
|
|
<option value="{{ $server->id }}">{{ $server->name }}</option>
|
|
|
|
@endforeach
|
|
|
|
</x-inputs.select>
|
2023-05-22 10:09:24 +00:00
|
|
|
|
2023-05-02 10:47:52 +00:00
|
|
|
</form>
|
|
|
|
</div>
|