1 <?php
2
3 4 5 6 7 8 9 10
11
12 namespace Icybee\Installer;
13
14 use Brickrouge\Button;
15 use Brickrouge\Element;
16
17 class InstallForm extends Element
18 {
19 public function __construct()
20 {
21 $action = new Button("Install", array('class' => 'btn btn-primary', 'type' => 'submit'));
22
23 parent::__construct
24 (
25 'div', array
26 (
27 PanelDecorator::TITLE => t('panel.install.title'),
28
29 Element::CHILDREN => array
30 (
31 t('panel.install.content', array('action' => $action))
32 ),
33
34 'name' => 'install'
35 )
36 );
37 }
38 }