@extends('layouts/contentLayoutMaster') @if(isset($tag)) @section('title', __('locale.template_tags.update_template_tag')) @else @section('title', __('locale.template_tags.new_template_tag')) @endif @section('content') @if(isset($tag)) {{ __('locale.template_tags.update_template_tag') }} @else {{ __('locale.template_tags.new_template_tag') }} @endif {{config('app.name')}} {!! __('locale.description.template_tag') !!} @if(isset($tag)) {{ method_field('PUT') }} @endif @csrf {{ __('locale.labels.name') }} @error('name') {{ $message }} @enderror {{ __('locale.labels.type') }} type) && $tag->type == 'text' ? 'selected' : null }}>text type) && $tag->type == 'email' ? 'selected' : null }}>email type) && $tag->type == 'number' ? 'selected' : null }}>number type) && $tag->type == 'tel' ? 'selected' : null }}>tel type) && $tag->type == 'url' ? 'selected' : null }}>url type) && $tag->type == 'date' ? 'selected' : null }}>date @error('type') {{ $message }} @enderror {{ __('locale.labels.required') }} required) && $tag->required == 0 ? 'selected' : null }}>{{ __('locale.labels.optional')}} required) && $tag->required == 1 ? 'selected' : null }}>{{ __('locale.labels.required') }} @error('required') {{ $message }} @enderror {{ __('locale.buttons.save') }} @endsection @section('page-script') @endsection
{{config('app.name')}} {!! __('locale.description.template_tag') !!}
{{ $message }}