uawdijnntqw1x1x1
IP : 216.73.216.107
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
.
/
apps
/
craft4-newsite-space
/
templates
/
shop
/
customer
/
_includes
/
register.twig
/
/
<form method="post" action="" accept-charset="UTF-8"> {{ csrfInput() }} {{ actionInput('users/save-user') }} {{ redirectInput(redirectUrl) }} {% macro errorList(errors) %} {% if errors %} {{ ul(errors, { class: 'errors text-red-500' }) }} {% endif %} {% endmacro %} {% from _self import errorList %} <div class="field mt-3"> <label for="username"> {{- 'Username'|t -}} </label> <div class="mt-1"> {{ input('text', 'username', user is defined ? user.username : '', { id: 'username', class: 'border border-gray-300 hover:border-gray-500 px-4 py-2 leading-tight rounded' }) }} {% if user is defined %} {{ errorList(user.getErrors('username')) }} {% endif %} </div> </div> <div class="field mt-3"> <label for="email"> {{- 'Email'|t -}} </label> <div class="mt-1"> {{ input('email', 'email', user.email ?? cart.email ?? null, { id: 'email', class: 'border border-gray-300 hover:border-gray-500 px-4 py-2 leading-tight rounded' }) }} {% if user is defined %} {{ errorList(user.getErrors('email')) }} {% endif %} </div> </div> <div class="field mt-3"> <label for="savePassword"> {{- 'Password'|t -}} </label> <div class="mt-1"> {{ input('password', 'password', null, { id: 'savePassword', class: 'border border-gray-300 hover:border-gray-500 px-4 py-2 leading-tight rounded' }) }} {% if user is defined %} {{ errorList(user.getErrors('password')) }} {% endif %} </div> </div> <div class="mt-3"> {{ tag('button', { type: 'submit', class: 'cursor-pointer rounded px-4 py-2 inline-block bg-blue-500 hover:bg-blue-600 text-white hover:text-white', text: 'Register'|t }) }} </div> </form>
/srv/users/craft4/./apps/craft4-newsite-space/templates/shop/customer/_includes/register.twig