extends template phtml block content div class Category title div if e

 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
28
29
30
{extends "template.phtml"}
{block 'content'}
<div class="Category">
{$title}
</div>
{if $errors}
<p class="bg-warning">
{foreach $errors as $key => $value}
{$value} <br/>
{/foreach}
</p>
{/if}
<div class="content">
<form method="post">
<br/>Логин:<br/>
<input type="text" name="login" placeholder="Введите логин"/>
<br/>Email:<br/>
<input type="email" name="email" placeholder="Введите Email"/>
<br/>Пароль:<br/>
<input type="password" name="password" placeholder="Введите пароль"/>
<br/>Повтор пароля:<br/>
<input type="password" name="confirm" placeholder="Повторите пароль"/>
<br/>Код с картинки:<br/> {$captcha}
<input type="text" name="captcha" placeholder="Код" class="captcha" maxlength="4"/>
<input type="hidden" name="csrf" value="{$csrf}"/>
<input type="submit" value="Создать аккаунт"/>
</form>
</div>
<a href="/" class="link">На главную</a>
{/block}