@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @var \App\View\AppView $this |
|
4 | - */ |
|
3 | + * @var \App\View\AppView $this |
|
4 | + */ |
|
5 | 5 | ?> |
6 | 6 | <nav class="large-3 medium-4 columns" id="actions-sidebar"> |
7 | 7 | <ul class="side-nav"> |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @var \App\View\AppView $this |
|
4 | - */ |
|
3 | + * @var \App\View\AppView $this |
|
4 | + */ |
|
5 | 5 | ?> |
6 | 6 | <nav class="large-3 medium-4 columns" id="actions-sidebar"> |
7 | 7 | <ul class="side-nav"> |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @var \App\View\AppView $this |
|
4 | - */ |
|
3 | + * @var \App\View\AppView $this |
|
4 | + */ |
|
5 | 5 | ?> |
6 | 6 | <nav class="large-3 medium-4 columns" id="actions-sidebar"> |
7 | 7 | <ul class="side-nav"> |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @var \App\View\AppView $this |
|
4 | - */ |
|
3 | + * @var \App\View\AppView $this |
|
4 | + */ |
|
5 | 5 | use Cake\I18n\I18n; |
6 | 6 | ?> |
7 | 7 | <div class="col-xs-12"> |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <div class="col"> |
2 | 2 | <?php |
3 | - echo $this->Form->create($ticket, ['templates'=>'bs4form']); |
|
4 | - echo $this->Form->control('title'); |
|
5 | - echo $this->Form->control('description'); |
|
6 | - echo $this->Form->control('tickettype_id', ['options' => $types, 'label'=>'Type of ticket']); |
|
7 | - echo $this->Form->control('ticketstatus_id', ['options' => $statuses, 'label' => 'Status']); |
|
8 | - echo $this->Form->submit(__('Submit')); |
|
9 | - echo $this->Form->end(); |
|
3 | + echo $this->Form->create($ticket, ['templates'=>'bs4form']); |
|
4 | + echo $this->Form->control('title'); |
|
5 | + echo $this->Form->control('description'); |
|
6 | + echo $this->Form->control('tickettype_id', ['options' => $types, 'label'=>'Type of ticket']); |
|
7 | + echo $this->Form->control('ticketstatus_id', ['options' => $statuses, 'label' => 'Status']); |
|
8 | + echo $this->Form->submit(__('Submit')); |
|
9 | + echo $this->Form->end(); |
|
10 | 10 | ?> |
11 | 11 | </div> |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** @var \Cake\Routing\RouteBuilder $routes */ |
45 | 45 | $routes->setRouteClass(DashedRoute::class); |
46 | 46 | |
47 | -$routes->scope('/', function (RouteBuilder $builder) { |
|
47 | +$routes->scope('/', function(RouteBuilder $builder) { |
|
48 | 48 | |
49 | 49 | $builder->prefix('admin', function($routes) { |
50 | 50 | $routes->connect('/', ['controller' => 'Users', 'action' => 'index']); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | public function beforeFilter(EventInterface $event) { |
16 | 16 | parent::beforeFilter($event); |
17 | - $this->Auth->allow('add','login','logout'); |
|
17 | + $this->Auth->allow('add', 'login', 'logout'); |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |