extends base phtml block content flash output div class fon form user

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "base.phtml" %}
{% block content %}
{{ flash.output() }}
<div class="fon">
{{ form('user/register') }}
<label for="name">Логин</label><br />
{{ form.render('name') }}<br />
<label for="email">E-mail</label><br />
{{ form.render('email') }}<br />
<label for="password">Пароль:</label><br />
{{ form.render('password') }}<br />
<label for="confirm_password">Повторите пароль:</label><br />
{{ form.render('confirm_password') }}<br />
<input type="hidden" name="<?php echo $this->security->getTokenKey() ?>" value="<?php echo $this->security->getToken() ?>"/>
{{ submit_button('Зарегистрироваться') }}
</form>
</div>
{% endblock %}