TWIG
<div class="left"><div style= "border:1px solid #ddd;margin:3px;text-align:center;padding:1px;" ><form action= "main.php" method= "get" id= "form_login" > <div class= "title" ><input name= "nick" type= "checkbox" value= "1" checked= "checked" style= "width:12px;height:12px" />Ghi Nhớ Đăng Nhập</div><div class= "chat" ><input type= "hidden" name= "id" value= "log" /> <b style="text-shadow: 0px 1px #E0E5EA;padding: 6px 8px; color:#24292E;">Tài Khoản</b> <br><input name="nick" class="text" maxlength= "30"{% if api.r.get('nick') %} value="{{api.r.get('nick')}}"{% endif %}id="nick"> <br><b style="text-shadow: 0px 1px #E0E5EA;padding: 6px 8px; color:#24292E;">Mật Khẩu</b> <br><input name= "pass" id= "pass" maxlength= "30" type= "password"{% if api.r.get('pass') %}value="{{api.r.get('pass')}}"{% endif %}><br/><div style= "text-align:center" ><input type= "submit" value= "Đăng Nhập"onclick="document.getElementById('nick').value=document.getElementById('nick').value.replace(/ /gi, ' ')" style= "width:90%;opacity:0.5;"/></div></form></div></div>
![[OFF]](/assets/images/off.gif)