Added simple templates module

This commit is contained in:
Antonio de la Rosa 2025-11-23 01:26:30 +01:00
parent 47c7003e3b
commit 17b6df73ff
7 changed files with 265 additions and 38 deletions

View file

@ -0,0 +1,14 @@
<?=$this->layout('login_tpl', ['title' => 'Signup'])?>
<?=$this->start('content')?>
<p><label for="username"></label><input type="text" name="username" id="username_form" placeholder="<?=_('Username')?>"/></p>
<p class="error" id="username_error"></p>
<p><input type="text" name="password" id="password_form" placeholder="<?=_('Password')?>"/></p>
<p class="error" id="password_error"></p>
<p><input type="text" name="repeat_password" id="repeat_password_form" placeholder="<?=_('Repeat Password')?>"/></p>
<p class="error" id="repeat_password_error"></p>
<p><input type="text" name="email" id="email_form" placeholder="<?=_('Email')?>"/></p>
<p class="error" id="email_error"></p>
<p>
<input type="submit" class="button" value="<?=_('Create user')?>" />
</p>
<?=$this->end('content')?>