芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/rentandbuyrealty.com/rentandbuyrealty.com/resources/views/users/users.blade.php
@extends('layouts.main') @section('title') Users @endsection @section('page-title')
@yield('title')
@endsection @section('content')
Add Users
ID
Name
Email
Active Status
Action
ADD USER
{{ csrf_field() }}
Name
Email
Password
@php $actions = ['create', 'read', 'update', 'delete']; @endphp
Module/Permissions
@foreach ($actions as $row)
{{ ucfirst($row) }}
@endforeach
@foreach ($system_modules as $key => $value)
{{ ucwords(str_replace('_', ' ', $key)) }}
@for ($i = 0; $i < count($actions); $i++) @php $index = array_search($actions[$i], $value); @endphp @if ($index !== false)
@else
@endif @endfor
@endforeach
EDIT USER
{{ csrf_field() }}
Name
Email
Active Status
{!! Form::select('status', ['0' => 'Inactive', '1' => 'Active'], '', [ 'class' => 'form-select', 'id' => 'status', ]) !!}
@php $actions = ['create', 'read', 'update', 'delete']; @endphp
Module/Permissions
@foreach ($actions as $row)
{{ ucfirst($row) }}
@endforeach
{{-- {{ print_r($system_modules) }} --}} @foreach ($system_modules as $key => $value)
{{ ucwords(str_replace('_', ' ', $key)) }}
@for ($i = 0; $i < count($actions); $i++) @php $index = array_search($actions[$i], $value); @endphp @if ($index !== false)
@else
@endif @endfor
@endforeach
RESET PASSWORD
{{ csrf_field() }}
New Password
Min Password Length Must Be of 4
Confirm Password
Min Password Length Must Be of 4
@endsection @section('script') @endsection