2020-06-21 21:29:52 +02:00
|
|
|
<?php
|
2020-12-02 19:37:24 +01:00
|
|
|
echo $this->Html->image('logo-purple.png', ['alt' => 'CakePHP', 'class="form-signin"']);
|
2020-06-21 21:29:52 +02:00
|
|
|
echo '<div class="form-signin">';
|
|
|
|
echo $this->Form->create(null, ['url' => ['controller' => 'users', 'action' => 'login']]);
|
|
|
|
echo $this->Form->control('username', ['label' => false, 'class' => 'form-control', 'placeholder' => __('Username')]);
|
|
|
|
echo $this->Form->control('password', ['type' => 'password', 'label' => false, 'class' => 'form-control', 'placeholder' => __('Password')]);
|
|
|
|
echo $this->Form->submit(__('Submit'), ['class' => 'btn btn-lg btn-primary btn-block']);
|
|
|
|
echo $this->Form->end();
|
|
|
|
echo '</div>';
|
|
|
|
?>
|
|
|
|
</div>
|