@extends('admin.layout.master') @section('title', __('admin.inputs')) @section('scripts') @endsection @section('content')
{{ __('admin.inputs_for_section', ['section' => $section->title]) }}
{{-- Add Input Modal --}} {{-- Inputs Table --}}
@foreach ($inputs as $input) {{-- Edit Modal --}} @if($input->type == 'select' || $input->type == 'checkbox' || $input->type == 'radio') {{-- Options Modal --}} @endif @endforeach
{{ __('admin.title') }} {{ __('admin.type') }} {{ __('admin.required') }} {{ __('admin.options') }}> {{ __('admin.action') }}
{{ $input->getTranslation('title', app()->getLocale()) }} {{ $input->type }} {{ $input->required ? __('admin.yes') : __('admin.no') }} @if($input->type == 'select' || $input->type == 'checkbox' || $input->type == 'radio') @endif
@csrf @method('DELETE')
@endsection