@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.externalApi.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('transaction'))
{{ $errors->first('transaction') }}
@endif {{ trans('cruds.externalApi.fields.transaction_helper') }}
@if($errors->has('url'))
{{ $errors->first('url') }}
@endif {{ trans('cruds.externalApi.fields.url_helper') }}
@if($errors->has('ip_address'))
{{ $errors->first('ip_address') }}
@endif {{ trans('cruds.externalApi.fields.ip_address_helper') }}
@foreach(App\Models\ExternalApi::DIRECTION_RADIO as $key => $label)
direction) === (string) $key ? 'checked' : '' }} required>
@endforeach @if($errors->has('direction'))
{{ $errors->first('direction') }}
@endif {{ trans('cruds.externalApi.fields.direction_helper') }}
@foreach(App\Models\ExternalApi::PARTY_RADIO as $key => $label)
party) === (string) $key ? 'checked' : '' }} required>
@endforeach @if($errors->has('party'))
{{ $errors->first('party') }}
@endif {{ trans('cruds.externalApi.fields.party_helper') }}
@if($errors->has('method'))
{{ $errors->first('method') }}
@endif {{ trans('cruds.externalApi.fields.method_helper') }}
@if($errors->has('req_headers'))
{{ $errors->first('req_headers') }}
@endif {{ trans('cruds.externalApi.fields.req_headers_helper') }}
@if($errors->has('req_body'))
{{ $errors->first('req_body') }}
@endif {{ trans('cruds.externalApi.fields.req_body_helper') }}
@if($errors->has('resp_headers'))
{{ $errors->first('resp_headers') }}
@endif {{ trans('cruds.externalApi.fields.resp_headers_helper') }}
@if($errors->has('resp_body'))
{{ $errors->first('resp_body') }}
@endif {{ trans('cruds.externalApi.fields.resp_body_helper') }}
@if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.externalApi.fields.status_helper') }}
@endsection