@extends('layouts.app') @section('content')

{{ isset($dataCollection) ? 'Edit' : 'New' }} Data Collection

Back
@csrf @if(isset($dataCollection)) @method('PUT') @endif {{-- Validation Errors --}} @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@error('title')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('start_date')
{{ $message }}
@enderror
@error('end_date')
{{ $message }}
@enderror
@error('project_id')
{{ $message }}
@enderror
{{-- Status Toggle --}}
@php $currentStatus = old('status', $dataCollection->status ?? 1); @endphp
@error('iframe_code')
{{ $message }}
@enderror
Paste the full Google Sheet URL linked to your Google Form responses. @error('sheet_url')
{{ $message }}
@enderror
Cancel
@endsection