@extends('ATCore::atcore_layout') @section('content')

{{ $createNewName }}

@csrf @if ($parentObject) @endif
@foreach ($columns as $colInput) @if (!$colInput->exists('disableCreate')) @if ($colInput->getType() == "text") @include('ATCore::atplus_crud.forms.input_text',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required')]) @elseif ($colInput->getType() == "select_table") @include('ATCore::atplus_crud.forms.select_table',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required'), 'select_model' => $colInput->exists('select_model'), 'select_option_value' => $colInput->exists('select_option_value'), 'select_option_value_2' => $colInput->exists('select_option_value_2')]) @elseif ($colInput->getType() == "date") @include('ATCore::atplus_crud.forms.input_date',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required')]) @elseif ($colInput->getType() == "select_options") @include('ATCore::atplus_crud.forms.select_options',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required'), 'options' => $colInput->exists('options')]) @endif @endif @endforeach
@stop @section('css') @yield('atplus_css') @stop @section('plugins.Datepicker',true) @section('plugins.ValidationJS',true) @section('js') @yield('atplus_js') @stop @section('plugins.Vue',true)