@extends('layout.index') @if (isset($id)) @section('title', 'Edit Language Details') @else @section('title', 'Add Language Details') @endif @section('content')
@if ($message = Session::get('success'))
@endif
{{ csrf_field() }}
@error('name') {{ $message }} @enderror
@error('language_code') {{ $message }} @enderror