@extends('layout.index') @if (isset($id)) @section('title', 'Edit Master Role') @else @section('title', 'Add Master Role') @endif @section('content') Add Master Role @if ($message = Session::get('error')) {{-- --}} {{ $message }} × @endif @if ($message = Session::get('success')) {{ $message }} × @endif {{ csrf_field() }} Role * @error('role') {{ $message }} @enderror Submit Cancel @endsection