| Conditions | 1 |
| Paths | 1 |
| Total Lines | 26 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function __construct(ContainerInterface $di) |
||
| 20 | { |
||
| 21 | parent::__construct($di); |
||
| 22 | |||
| 23 | $this->form->create( |
||
| 24 | [ |
||
| 25 | "id" => __CLASS__, |
||
| 26 | "legend" => "User Login" |
||
| 27 | ], |
||
| 28 | [ |
||
| 29 | "user" => [ |
||
| 30 | "type" => "text", |
||
| 31 | //"description" => "Here you can place a description.", |
||
| 32 | //"placeholder" => "Here is a placeholder", |
||
| 33 | ], |
||
| 34 | |||
| 35 | "password" => [ |
||
| 36 | "type" => "password", |
||
| 37 | //"description" => "Here you can place a description.", |
||
| 38 | //"placeholder" => "Here is a placeholder", |
||
| 39 | ], |
||
| 40 | |||
| 41 | "submit" => [ |
||
| 42 | "type" => "submit", |
||
| 43 | "value" => "Login", |
||
| 44 | "callback" => [$this, "callbackSubmit"] |
||
| 45 | ], |
||
| 76 |