@extends('layouts/contentLayoutMaster') @section('title', 'Edit Section') @section('vendor-style') @endsection @section('content') Edit Section @if ($errorMessage = Session::get('errorMessage')) {{ $errorMessage }} @endif @csrf @method('PUT') Code * @error('code') {{$message}} @enderror Department * Select Department @foreach ($all_dept as $value) id === $section->dept_id) {{ "selected" }} @endif > {{ $value->name }} @endforeach @error('dept_id') {{$message}} @enderror Name * @error('name') {{$message}} @enderror Address * @error('address') {{$message}} @enderror Latitude * @error('latitude') {{$message}} @enderror Longitude * @error('longitude') {{$message}} @enderror @if ($showSubmit) Submit Reset Cancel @endif @endsection @section('vendor-script') @endsection @section('page-script') @endsection