@extends('layouts.app') @php $users = get_users(['user_role'=>2]) @endphp @section('content')

Add {{ $name }}

@csrf
@php echo get_item_delete_icon() @endphp
{{ $name }} is required
@if (session('success'))
{{ session('success') }}
@elseif (session('error'))
{{ session('error') }}
@endif
@if (session('delete_success'))
{{ session('delete_success') }}
@elseif (session('delete_error'))
{{ session('delete_error') }}
@endif
@if( $list ) @foreach( $list as $index => $values ) @endforeach @endif
ID Name Action
{{ $values->id }} {{ $values->name }} {{ get_edit_button( url('dropdowns/edit/'.$type.'/'.$values->id),$values->id,'black text-primary' , 'Edit') }} {{ get_delete_button(url('dropdowns/delete/'.$type.'/'.$values->id),$values->id,'black text-danger deleteRecord','Delete')}}
@endsection