@extends('layouts.app') @section('css') @endsection @section('page-header') @endsection @section('content')
User Avatar

{{ auth()->user()->name }}

{{ auth()->user()->job_role }}
@method('PUT') @csrf

{{ __('Personal API Keys') }}

@if (auth()->user()->group == 'user' || auth()->user()->group == 'admin') @if (config('settings.personal_openai_api') == 'allow')
{{ __('Enter Your OpenAI Secret Key') }}
@error('openai-key')

{{ $errors->first('openai-key') }}

@enderror
@endif @if (config('settings.personal_sd_api') == 'allow')
{{ __('Enter Your Stable Diffusion API Key') }}
@error('sd-key')

{{ $errors->first('sd-key') }}

@enderror
@endif @endif @if (!is_null(auth()->user()->plan_id)) @if ($check_api_feature->personal_openai_api)
{{ __('Enter Your OpenAI Secret Key') }}
@error('openai-key')

{{ $errors->first('openai-key') }}

@enderror
@endif @if ($check_api_feature->personal_sd_api)
{{ __('Enter Your Stable Diffusion API Key') }}
@error('sd-key')

{{ $errors->first('sd-key') }}

@enderror
@endif @endif
@endsection