$script->id]) }}&server=' + this.server window.history.pushState('', '', url) htmx.ajax('GET', url, { target: '#select-user', swap: 'outerHTML', select: '#select-user', }) }, }" >
$script]) }}" hx-swap="outerHTML" hx-select="#execute-script-form" class="p-6" >

{{ __("Execute script") }}

@php $executeServers = auth() ->user() ->allServers() ->get(); @endphp @foreach ($executeServers as $executeServer) @endforeach @error("server") @enderror
@php $s = null; if (request()->has("server")) { $s = auth() ->user() ->allServers() ->findOrFail(request("server")); } @endphp @include("fields.user", ["value" => old("user"), "server" => $s])
@if (count($script->getVariables()) > 0)
@foreach ($script->getVariables() as $variable)
@error("variables." . $variable) @enderror @endforeach
@endif
{{ __("Cancel") }} {{ __("Execute") }}