@extends('layouts.admin') @section('content')
{{ trans('global.create') }} {{ trans('cruds.shortUrl.title_singular') }}
@csrf
@if($errors->has('ori_data'))
{{ $errors->first('ori_data') }}
@endif {{ trans('cruds.shortUrl.fields.ori_data_helper') }}
@foreach(App\Models\ShortUrl::LINK_TYPE_RADIO as $key => $label) @endforeach @if($errors->has('link_type'))
{{ $errors->first('link_type') }}
@endif {{ trans('cruds.shortUrl.fields.link_type_helper') }}
@foreach(App\Models\ShortUrl::PROTECTED_RADIO as $key => $label)
@endforeach @if($errors->has('protected'))
{{ $errors->first('protected') }}
@endif {{ trans('cruds.shortUrl.fields.protected_helper') }}
@if($errors->has('option_1'))
{{ $errors->first('option_1') }}
@endif {{ trans('cruds.shortUrl.fields.option_1_helper') }}
@if($errors->has('option_2'))
{{ $errors->first('option_2') }}
@endif {{ trans('cruds.shortUrl.fields.option_2_helper') }}
@if($errors->has('option_3'))
{{ $errors->first('option_3') }}
@endif {{ trans('cruds.shortUrl.fields.option_3_helper') }}
@if($errors->has('option_4'))
{{ $errors->first('option_4') }}
@endif {{ trans('cruds.shortUrl.fields.option_4_helper') }}
@if($errors->has('option_5'))
{{ $errors->first('option_5') }}
@endif {{ trans('cruds.shortUrl.fields.option_5_helper') }}
@if($errors->has('protection_code'))
{{ $errors->first('protection_code') }}
@endif {{ trans('cruds.shortUrl.fields.protection_code_helper') }}
@if($errors->has('generated_data'))
{{ $errors->first('generated_data') }}
@endif {{ trans('cruds.shortUrl.fields.generated_data_helper') }}
@endsection