Commit 70cd3b30 by Alexander Makarov

Added note about HTML5 inputs

parent 5eadeec8
......@@ -111,6 +111,12 @@ or
<div class="hint-block">Please enter your name</div>
```
If you want to use one of HTML5 fields you may specify input type directly like the following:
```php
<?= $form->field($model, 'email')->input('email') ?>
```
> **Tip**: in order to style required fields with asterisk you can use the following CSS:
>
```css
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment