@extends(decide_template()) @section('title', $title) @section('page_styles') @endsection @section('page_scripts') @endsection @section(decide_content()) @if($errors->any())
@foreach($errors->all() as $error)

{{ $error }}

@endforeach
@endif @if (Session::has('msg'))
{{ Session::get('msg') }}
@endif
@if($action == 'add')
@else @endif

{{trans('spintag.form_heading')}}

{{-- @if(routeAccess('clone_spintag') && $action=='add') --}} @if($action=='add') @if(routeAccess('clone_spintag')) {{trans('spintag.add.button.pre_define_template')}} @endif

{{ trans("spintag.add.box_title") }}

{{trans('spintag.form.name')}}
{{trans('spintag.form.description')}}
{{trans('common.table_heading.actions')}}
@foreach($templates as $template)
{{$template->place_holder}}
{{$template->description}}
@php $words = $buffer = str_replace(["\r\n", "\r", "\n"], "%%%",$template->word_list); @endphp
@endforeach
@endif
place_holder) ? "readonly" : '' }} value="{{isset($spinTag->place_holder) ? $spinTag->place_holder : '' }}" />
@if($action == 'add') @else @endif
@endsection