@extends('layouts.frontend') @section('content')
{{ trans('global.create') }} {{ trans('cruds.externalApi.title_singular') }}
@method('POST') @csrf
@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)
@endforeach @if($errors->has('direction'))
{{ $errors->first('direction') }}
@endif {{ trans('cruds.externalApi.fields.direction_helper') }}
@foreach(App\Models\ExternalApi::PARTY_RADIO as $key => $label)
@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('request_headers'))
{{ $errors->first('request_headers') }}
@endif {{ trans('cruds.externalApi.fields.request_headers_helper') }}
@if($errors->has('request_body'))
{{ $errors->first('request_body') }}
@endif {{ trans('cruds.externalApi.fields.request_body_helper') }}
@if($errors->has('response_headers'))
{{ $errors->first('response_headers') }}
@endif {{ trans('cruds.externalApi.fields.response_headers_helper') }}
@if($errors->has('response_body'))
{{ $errors->first('response_body') }}
@endif {{ trans('cruds.externalApi.fields.response_body_helper') }}
@if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.externalApi.fields.status_helper') }}
@endsection