@extends('layouts/base_view') @section('title') {!! $variables['header_routes'] !!} @endsection @section('content')

{!! $variables['judul'] !!}

@csrf @if($variables['type'] == 'cp')
@if ($errors->has('current_password')) {{ $errors->first('current_password') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
@elseif($variables['type'] == 'ema')
@if ($errors->has('fullname')) {{ $errors->first('fullname') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('telephone')) {{ $errors->first('telephone') }} @endif
@else
@if ($errors->has('fullname')) {{ $errors->first('fullname') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('telephone')) {{ $errors->first('telephone') }} @endif
@if ($errors->has('role_id')) {{ $errors->first('role_id') }} @endif
@if(empty($data->username))
@if ($errors->has('username')) {{ $errors->first('username') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@else
@endif

Akses Cabang

@endif Back
@endsection