PHP Classes

File: app/views/register/index.php

Recommend this page to a friend!
  Classes of Oleg Lunegov   MicroPHP Framework   app/views/register/index.php   Download  
File: app/views/register/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: MicroPHP Framework
MVC framework for Web or command line applications
Author: By
Last change: Update of app/views/register/index.php
Date: 9 months ago
Size: 633 bytes
 

Contents

Class file image Download
<?php

use Micro\Web\Html\Html;

/** @var App\Components\View $this */
/** @var App\Models\User $model */

echo Html::heading(2, '???????????');

/** @var \Micro\Form\Form $form */
$form = $this->beginWidget('\Micro\Widget\FormWidget', [
   
'method' => 'post',
   
'action' => '/register/post',
   
'client' => $model->getClient()
]);

echo
$form->textFieldRow($model, 'email');
echo
$form->textFieldRow($model, 'login');
echo
$form->passwordFieldRow($model, 'pass');
echo
$form->textFieldRow($model, 'fio');
echo
Html::submitButton('??????????????????');

$this->endWidget('\Micro\Widget\FormWidget');