File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 5
5
{ block content}
6
6
<div class =" row" >
7
7
<div class =" col-md-8 col-md-offset-2" >
8
-
9
- <header class =" page-header" >
10
- <form action =" /pages/create" method =" GET" class =" pull-right" >
11
- { * field "Title" "Page Title" *}
12
- <button type =" submit" class =" btn btn-success" >Create New Page</button >
13
- </form >
14
- <h1 >Pages Directory</h1 >
15
- </header >
8
+ { if Emergence\CMS\PagesRequestHandler::checkWriteAccess(\Emergence\CMS\Page::create())}
9
+ <header class =" page-header" >
10
+ <form action =" /pages/create" method =" GET" class =" pull-right" >
11
+ { * field "Title" "Page Title" *}
12
+ <button type =" submit" class =" btn btn-success" >Create New Page</button >
13
+ </form >
14
+ <h1 >Pages Directory</h1 >
15
+ </header >
16
+ { /if }
16
17
17
18
<ul >
18
19
{ foreach item= Page from= $data }
You can’t perform that action at this time.
0 commit comments