Passed
Push — master ( 29baaf...069627 )
by Mihail
06:51
created

Apps/View/Admin/default/main/delete_route.php (1 issue)

Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
use Ffcms\Core\Helper\HTML\Form;
4
use Ffcms\Core\Helper\Url;
5
6
/** @var $model \Apps\Model\Admin\Main\EntityDeleteRoute */
7
8
$this->breadcrumbs = [
9
    Url::to('main/index') => __('Main'),
10
    Url::to('main/routing') => __('Routing'),
11
    __('Deleting route')
12
];
13
14
$this->title = __('Deleting route');
15
16
?>
17
18
<h1><?= __('Deleting route') ?></h1>
19
<hr />
20
<?php $form = new Form($model, ['class' => 'form-horizontal', 'method' => 'post', 'action' => '']); ?>
21
22
<?= $form->start() ?>
0 ignored issues
show
The method start() does not seem to exist on object<Ffcms\Core\Helper\HTML\Form>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
23
24
<?= $form->field('type', 'text', ['disabled' => true, 'class' => 'form-control']) ?>
25
<?= $form->field('loader', 'text', ['disabled' => true, 'class' => 'form-control']) ?>
26
<?= $form->field('source', 'text', ['disabled' => true, 'class' => 'form-control']) ?>
27
28
29
<div class="col-md-9 col-md-offset-3"><?= $form->submitButton(__('Delete this route'), ['class' => 'btn btn-danger']) ?></div>
30
31
<?= $form->finish() ?>
32