Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function __construct(DIInterface $di) |
||
21 | { |
||
22 | parent::__construct($di); |
||
23 | $this->form->create( |
||
24 | [ |
||
25 | "id" => __CLASS__, |
||
26 | ], |
||
27 | [ |
||
28 | "comment" => [ |
||
29 | "type" => "textarea", |
||
30 | "label" => false, |
||
31 | "placeholder" => "Comment here" |
||
32 | ], |
||
33 | |||
34 | "submit" => [ |
||
35 | "type" => "submit", |
||
36 | "value" => "Skicka", |
||
37 | "callback" => [$this, "callbackSubmit"] |
||
38 | ], |
||
39 | ] |
||
40 | ); |
||
41 | } |
||
42 | |||
72 |