|
@ -19,10 +19,12 @@ |
|
|
<template id="easy_my_coop_signup" |
|
|
<template id="easy_my_coop_signup" |
|
|
inherit_id="auth_signup.signup" name="Easy My Coop Sign up login"> |
|
|
inherit_id="auth_signup.signup" name="Easy My Coop Sign up login"> |
|
|
|
|
|
|
|
|
<div t-attf-class="form-group"> |
|
|
|
|
|
<a class='btn btn-primary' href="/web/company_signup">You are a company? Click here.</a> |
|
|
|
|
|
<br/> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<xpath expr="//t[@t-call='auth_signup.fields']" position="before"> |
|
|
|
|
|
<div t-attf-class="form-group"> |
|
|
|
|
|
<a class='btn btn-primary' href="/web/company_signup">You are a company? Click here.</a> |
|
|
|
|
|
<br/> |
|
|
|
|
|
</div> |
|
|
|
|
|
</xpath> |
|
|
<xpath expr="//t[@t-esc='error']/.." position="replace" /> |
|
|
<xpath expr="//t[@t-esc='error']/.." position="replace" /> |
|
|
<xpath expr="//input[@name='csrf_token']" position="after"> |
|
|
<xpath expr="//input[@name='csrf_token']" position="after"> |
|
|
<p class="alert alert-danger" t-if="error"> |
|
|
<p class="alert alert-danger" t-if="error"> |
|
@ -152,6 +154,10 @@ |
|
|
|
|
|
|
|
|
<template id="company_signup" name="Company sign up login"> |
|
|
<template id="company_signup" name="Company sign up login"> |
|
|
<t t-call="web.login_layout"> |
|
|
<t t-call="web.login_layout"> |
|
|
|
|
|
<div t-attf-class="form-group"> |
|
|
|
|
|
<a class='btn btn-primary' href="/web/individual_signup">You are a individual? Click here.</a> |
|
|
|
|
|
<br/> |
|
|
|
|
|
</div> |
|
|
<form class="oe_signup_form" role="form" method="post" |
|
|
<form class="oe_signup_form" role="form" method="post" |
|
|
t-if="not message"> |
|
|
t-if="not message"> |
|
|
<input type="hidden" name="csrf_token" |
|
|
<input type="hidden" name="csrf_token" |
|
@ -252,6 +258,20 @@ |
|
|
Contact Person |
|
|
Contact Person |
|
|
</label> |
|
|
</label> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="form-group field-name"> |
|
|
|
|
|
<label for="name" class="control-label">Your Name</label> |
|
|
|
|
|
<input type="text" name="name" t-att-value="name" |
|
|
|
|
|
id="name" class="form-control" placeholder="Doe" |
|
|
|
|
|
required="required" |
|
|
|
|
|
t-att-readonly="'readonly' if only_passwords else None" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="form-group field-name"> |
|
|
|
|
|
<label for="firstname" class="control-label">Your firstname</label> |
|
|
|
|
|
<input type="text" name="firstname" t-att-value="firstname" |
|
|
|
|
|
id="firstname" class="form-control" placeholder="John" |
|
|
|
|
|
required="required" |
|
|
|
|
|
t-att-readonly="'readonly' if only_passwords else None" /> |
|
|
|
|
|
</div> |
|
|
<div class="form-group field-login"> |
|
|
<div class="form-group field-login"> |
|
|
<label for="login" class="control-label">Your Email</label> |
|
|
<label for="login" class="control-label">Your Email</label> |
|
|
<input type="text" name="login" t-att-value="login" |
|
|
<input type="text" name="login" t-att-value="login" |
|
|