48 lines
3.2 KiB
XML
48 lines
3.2 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<odoo>
|
||
|
|
<template id="ck_signup.signup" name="Sign up login">
|
||
|
|
<t t-call="web.login_layout">
|
||
|
|
<form class="oe_signup_form" role="form" method="post">
|
||
|
|
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
|
||
|
|
|
||
|
|
<t t-call="auth_signup.fields">
|
||
|
|
<t t-set="only_passwords" t-value="bool(token)"/>
|
||
|
|
</t>
|
||
|
|
<div t-if="intern" class="form-group field-group" style="font-family:Khmer OS content; src:url(../font/Khmer_OS_Siemreap.ttf) ;format('truetype'); font-size:15px;">
|
||
|
|
<label style="color:#15599a;" for="group" class="control-label">ជ្រើសរើស</label>
|
||
|
|
<select class="form-control" name="group" id="group">
|
||
|
|
<t t-foreach="groups" t-as="groups">
|
||
|
|
<option class="form-control" t-att-value="groups.id" name="group"><span t-esc="groups.name"/></option>
|
||
|
|
</t>
|
||
|
|
</select>
|
||
|
|
</div><br/>
|
||
|
|
<div t-if="intern" class="form-group field-group" style="font-family:Khmer OS content; src:url(../font/Khmer_OS_Siemreap.ttf) ;format('truetype'); font-size:15px;">
|
||
|
|
<label style="color:#15599a;" for="country_id" class="control-label">ស្នើសុំទៅប្រទេស</label>
|
||
|
|
<select class="form-control" id="country" name="country">
|
||
|
|
<t t-foreach="request.env['res.country'].sudo().search([('id','in',(48,116))])"
|
||
|
|
t-as="countries" t-key="countries.id">
|
||
|
|
<option t-att-value="countries.id">
|
||
|
|
<t t-esc="countries.name"/>
|
||
|
|
</option>
|
||
|
|
</t>
|
||
|
|
</select>
|
||
|
|
</div>
|
||
|
|
<p class="alert alert-success" t-if="message">
|
||
|
|
<t t-esc="message"/>
|
||
|
|
</p>
|
||
|
|
<p class="alert alert-danger" t-if="error">
|
||
|
|
<t t-esc="error"/>
|
||
|
|
</p>
|
||
|
|
<input type="hidden" name="redirect" t-att-value="redirect"/>
|
||
|
|
<input type="hidden" name="token" t-att-value="token"/>
|
||
|
|
<input type="hidden" name="active" t-att-value="active"/>
|
||
|
|
<div class="clearfix oe_login_buttons" style="font-family:Khmer OS content; src:url(../font/Khmer_OS_Siemreap.ttf) ;format('truetype'); font-size:15px;">
|
||
|
|
<a t-attf-href="/web/login?{{ keep_query() }}" class="btn btn-link pull-right" style="color:#15599a;font-size:17px;margin-top:10px;font-weight: 800;">ត្រឡប់ក្រោយ</a>
|
||
|
|
<a t-attf-href="/web/pin_code?{{ keep_query() }}" class="btn btn-link pull-right" style="color:#15599a;font-size:17px;margin-top:10px;font-weight: 800;">ផ្ទៀងផ្ទាត់PIN CODE</a>
|
||
|
|
<button type="submit" class="btn btn-primary pull-right" style="background-color: rgba(255,255,255,0.5); color:#15599a;margin-top:15px;">ចុះឈ្មោះ</button>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</form>
|
||
|
|
</t>
|
||
|
|
</template>
|
||
|
|
</odoo>
|