File size: 919 Bytes
5f32fbd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@extends('panel.layout.settings', ['disable_tblr' => true])
@section('title', __('Integration Edit'))
@section('titlebar_actions', '')

@section('settings')
    <form
        class="flex flex-col gap-5"
        enctype="multipart/form-data"
        method="post"
        action="{{ route('dashboard.user.integration.update', $item->id) }}"
    >
        @csrf
        @method('put')

        @foreach ($credentials as $field)
            <x-forms.input
                id="{{ $field['name'] }}"
                type="{{ $field['type'] }}"
                name="{{ $field['name'] }}"
                value="{{ $field['value'] ?? '' }}"
                label="{{ $field['label'] }}"
                size="lg"
            />
        @endforeach

        <x-button
            class="w-full"
            size="lg"
            type="submit"
        >
            {{ __('Save') }}
        </x-button>
    </form>
@endsection