$sourceControl->id]) }}" hx-swap="outerHTML" hx-select="#edit-source-control-form" hx-ext="disable-element" hx-disable-element="#btn-edit-source-control" class="p-6" > @csrf

{{ __("Edit Source Control") }}

@error("name") @enderror
@if ($sourceControl->provider == \App\Enums\SourceControl::GITLAB)
If you run a self-managed gitlab enter the url here, leave empty to use gitlab.com @error("url") @enderror
@endif @if (in_array($sourceControl->provider, [\App\Enums\SourceControl::GITLAB, \App\Enums\SourceControl::GITHUB]))
@error("token") @enderror
@endif @if ($sourceControl->provider == \App\Enums\SourceControl::BITBUCKET)
Your Bitbucket username @error("username") @enderror
Create a new App Password in your Bitbucket account with write and admin access to Workspaces, Projects, Repositories and Webhooks @error("password") @enderror
@endif
Is Global (Accessible in all projects) @error("global") @enderror
{{ __("Cancel") }} {{ __("Save") }}