2023-05-02 10:47:52 +00:00
|
|
|
<div>
|
2023-06-07 15:11:21 +00:00
|
|
|
<h1>Create a new Destination</h1>
|
2023-06-16 10:35:40 +00:00
|
|
|
<div class="pt-2 pb-10 ">Destinations are used to segregate resources by network.</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">
|
2023-08-08 09:51:36 +00:00
|
|
|
<x-forms.input id="name" label="Name" required/>
|
|
|
|
<x-forms.input id="network" label="Network" required/>
|
2023-05-22 10:09:24 +00:00
|
|
|
</div>
|
2023-07-28 11:31:47 +00:00
|
|
|
<x-forms.select id="server_id" label="Select a server" required wire:change="generate_name">
|
2023-06-06 09:35:50 +00:00
|
|
|
<option disabled>Select a server</option>
|
2023-05-04 08:45:09 +00:00
|
|
|
@foreach ($servers as $server)
|
|
|
|
<option value="{{ $server->id }}">{{ $server->name }}</option>
|
|
|
|
@endforeach
|
2023-05-25 12:05:44 +00:00
|
|
|
</x-forms.select>
|
2023-06-07 15:11:21 +00:00
|
|
|
<x-forms.button type="submit">
|
|
|
|
Save Destination
|
|
|
|
</x-forms.button>
|
2023-05-02 10:47:52 +00:00
|
|
|
</form>
|
|
|
|
</div>
|