1 <?php
2
3 4 5 6 7 8 9 10
11
12 namespace Icybee\Installer;
13
14 use ICanBoogie\HTTP\Request;
15
16 use Brickrouge\Button;
17 use Brickrouge\Element;
18 use Brickrouge\Form;
19
20 21 22
23 class PanelForm extends Form
24 {
25 public function __construct(array $attributes=array())
26 {
27 parent::__construct
28 (
29 $attributes + array
30 (
31 Form::ACTIONS => new Button("Continue", array('class' => 'btn btn-primary', 'type' => 'submit')),
32 Form::RENDERER => 'Simple',
33
34 'method' => Request::METHOD_PATCH,
35 'class' => 'form-horizontal'
36 )
37 );
38 }
39 }