Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
7adb1ec9
Commit
7adb1ec9
authored
Oct 16, 2017
by
Sajan Rajbhandari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Error in Role Management while editing any role
parent
e88004af
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
mix-manifest.json
public/mix-manifest.json
+8
-5
mix.9b87a1da741f957f3f09.js
public/mix.9b87a1da741f957f3f09.js
+1
-0
edit.blade.php
resources/views/backend/access/roles/edit.blade.php
+1
-1
No files found.
public/mix-manifest.json
View file @
7adb1ec9
{
"/js/frontend.js"
:
"/js/frontend.a61ecd930901e421f8c6.js"
,
"/js/backend.js"
:
"/js/backend.2a9b8e6342d3c8317e81.js"
,
"/mix.js"
:
"/mix.247ab120fe7680658924.js"
,
"/css/frontend.css"
:
"/css/frontend.3af0a6cbd7d1d8d042f2a37e97008b7c.css"
,
"/css/backend.css"
:
"/css/backend.fb09a6c9c42e242a03eb7f859ccfdc76.css"
"/js/frontend.js"
:
"/js/frontend.580464ef773e2d214ce1.js"
,
"/js/backend.js"
:
"/js/backend.10c0d698ee8a6aeda110.js"
,
"/mix.js"
:
"/mix.9b87a1da741f957f3f09.js"
,
"/css/frontend.css"
:
"/css/frontend.7816482bc976933449305b471c854d53.css"
,
"/css/backend.css"
:
"/css/backend.d451c415735a1ad4f8c0bc1506ab13f7.css"
,
"/css/backend-custom.css"
:
"/css/backend-custom.50f14193ab908e3cf471dea6cb6616ae.css"
,
"/js/backend-custom.js"
:
"/js/backend-custom.c4cbd263073239b6890a7b1556356e0c.js"
,
"/js/dataTable.js"
:
"/js/dataTable.f968d300a6a0b871f138f114361259c8.js"
}
\ No newline at end of file
public/mix.9b87a1da741f957f3f09.js
0 → 100644
View file @
7adb1ec9
!
function
(
n
){
function
t
(
e
){
if
(
r
[
e
])
return
r
[
e
].
exports
;
var
o
=
r
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
n
[
e
].
call
(
o
.
exports
,
o
,
o
.
exports
,
t
),
o
.
l
=!
0
,
o
.
exports
}
var
r
=
{};
t
.
m
=
n
,
t
.
c
=
r
,
t
.
i
=
function
(
n
){
return
n
},
t
.
d
=
function
(
n
,
r
,
e
){
t
.
o
(
n
,
r
)
||
Object
.
defineProperty
(
n
,
r
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
e
})},
t
.
n
=
function
(
n
){
var
r
=
n
&&
n
.
__esModule
?
function
(){
return
n
.
default
}:
function
(){
return
n
};
return
t
.
d
(
r
,
"
a
"
,
r
),
r
},
t
.
o
=
function
(
n
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
t
)},
t
.
p
=
""
,
t
(
t
.
s
=
0
)}({
0
:
function
(
n
,
t
,
r
){
r
(
"
qRWl
"
),
r
(
"
MYfA
"
),
n
.
exports
=
r
(
"
8MfB
"
)},
"
8MfB
"
:
function
(
n
,
t
){},
MYfA
:
function
(
n
,
t
){},
qRWl
:
function
(
n
,
t
){}});
\ No newline at end of file
resources/views/backend/access/roles/edit.blade.php
View file @
7adb1ec9
...
...
@@ -47,7 +47,7 @@
@if (
$permissions->count
())
@foreach (
$permissions
as
$perm
)
<label class="
control
control
--
checkbox
">
<input type="
checkbox
" name="
permissions
[{{
$perm
->
id
}}]
" value="
{{
$perm
->
id
}}
" id="
perm_
{{
$perm
->
id
}}
" {{ is_array(old('permissions')) ? (in_array(
$perm->id
, old('permissions')) ? 'checked' : '') : (in_array(
$perm->id
,
$role
_p
ermissions
) ? 'checked' : '') }} /> <label for="
perm_
{{
$perm
->
id
}}
">{{
$perm->display_name
}}</label>
<input type="
checkbox
" name="
permissions
[{{
$perm
->
id
}}]
" value="
{{
$perm
->
id
}}
" id="
perm_
{{
$perm
->
id
}}
" {{ is_array(old('permissions')) ? (in_array(
$perm->id
, old('permissions')) ? 'checked' : '') : (in_array(
$perm->id
,
$role
P
ermissions
) ? 'checked' : '') }} /> <label for="
perm_
{{
$perm
->
id
}}
">{{
$perm->display_name
}}</label>
<div class="
control__indicator
"></div>
</label>
<br/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment