2023-05-02 12:47:52 +02:00
|
|
|
<div>
|
2023-06-07 17:11:21 +02:00
|
|
|
<h1>Create a new Destination</h1>
|
|
|
|
<div class="pb-5 text-sm breadcrumbs">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
Destinations are used to separate resources in a server.
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2023-05-22 12:09:24 +02:00
|
|
|
<form class="flex flex-col gap-4" wire:submit.prevent='submit'>
|
|
|
|
<div class="flex gap-2">
|
2023-06-07 17:11:21 +02:00
|
|
|
<x-forms.input id="name" label="Name" required />
|
|
|
|
<x-forms.input id="network" label="Network" required />
|
2023-05-22 12:09:24 +02:00
|
|
|
</div>
|
2023-05-25 14:05:44 +02:00
|
|
|
<x-forms.select id="server_id" label="Select a server" required>
|
2023-06-06 11:35:50 +02:00
|
|
|
<option disabled>Select a server</option>
|
2023-05-04 10:45:09 +02:00
|
|
|
@foreach ($servers as $server)
|
|
|
|
<option value="{{ $server->id }}">{{ $server->name }}</option>
|
|
|
|
@endforeach
|
2023-05-25 14:05:44 +02:00
|
|
|
</x-forms.select>
|
2023-06-07 17:11:21 +02:00
|
|
|
<x-forms.button type="submit">
|
|
|
|
Save Destination
|
|
|
|
</x-forms.button>
|
2023-05-02 12:47:52 +02:00
|
|
|
</form>
|
|
|
|
</div>
|