@extends('adminlte::page') @section('title', 'Location') @section('content_header') @stop @section('content') Location Home Location Add Location @csrf Department Name -- Select Department -- @if($departments) @foreach($departments as $department) id ? 'selected' : '' }}> {{ $department->name }} @endforeach @endif @if ($errors->has('department_id')) {{ $errors->first('department_id') }} @endif Name @if ($errors->has('location_name')) {{ $errors->first('location_name') }} @endif Visibility -- Select Visibility -- Public Private @if ($errors->has('visibility')) {{ $errors->first('visibility') }} @endif Status -- Select Status -- Active Inactive @if ($errors->has('status')) {{ $errors->first('status') }} @endif @stop @section('js') @include('admin.location.scripts.index') @stop
{{ $errors->first('department_id') }}
{{ $errors->first('location_name') }}
{{ $errors->first('visibility') }}
{{ $errors->first('status') }}