Permalink
Browse files

[IMP] website_hr_recruitment, website_sale: adapt changes in form bui…

…lder structure to resolve some UI and options issue
  • Loading branch information...
dbh-odoo committed Jan 24, 2019
1 parent 111abda commit 1d2dbdca6127e88b6fd4683fe0add563ccbdaf94
@@ -119,45 +119,55 @@
<div class="row mt-3">
<section id="forms" class="col">
<form action="/website_form/" method="post" class="s_website_form" enctype="multipart/form-data" data-model_name="hr.applicant" data-success_page="/job-thank-you" t-att-data-form_field_department_id="job and job.department_id.id or False" t-att-data-form_field_job_id="job and job.id or False">
<div class="form-group row form-field o_website_form_required_custom">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="partner_name">Your Name</label>
</div>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="partner_name" required=""/>
<div class="form-group form-field o_website_form_required_custom">
<div class="row">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="partner_name">Your Name</label>
</div>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="partner_name" required=""/>
</div>
</div>
</div>
<div class="form-group row form-field o_website_form_required_custom">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="email_from">Your Email</label>
</div>
<div class="col-lg-7 col-md-8">
<input type="email" class="form-control o_website_form_input" name="email_from" required=""/>
<div class="form-group form-field o_website_form_required_custom">
<div class="row">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="email_from">Your Email</label>
</div>
<div class="col-lg-7 col-md-8">
<input type="email" class="form-control o_website_form_input" name="email_from" required=""/>
</div>
</div>
</div>
<div class="form-group row form-field o_website_form_required_custom">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="partner_phone">Your Phone Number</label>
</div>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="partner_phone" required=""/>
<div class="form-group form-field o_website_form_required_custom">
<div class="row">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="partner_phone">Your Phone Number</label>
</div>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="partner_phone" required=""/>
</div>
</div>
</div>
<div class="form-group row form-field">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="description">Short Introduction</label>
</div>
<div class="col-lg-7 col-md-8">
<textarea class="form-control o_website_form_input" name="description"></textarea>
<div class="form-group form-field">
<div class="row">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="description">Short Introduction</label>
</div>
<div class="col-lg-7 col-md-8">
<textarea class="form-control o_website_form_input" name="description"></textarea>
</div>
</div>
</div>
<div class="form-group row form-field o_website_form_custom">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="Resume">Resume</label>
</div>
<div class="col-lg-7 col-md-8">
<input type="file" class="form-control o_website_form_input" name="Resume"/>
</div>
<div class="form-group form-field o_website_form_custom">
<div class="row">
<div class="col-lg-3 col-md-4 text-right">
<label class="col-form-label" for="Resume">Resume</label>
</div>
<div class="col-lg-7 col-md-8">
<input type="file" class="form-control o_website_form_input" name="Resume"/>
</div>
</div>
</div>
<div class="form-group row">
<div class="offset-lg-3 offset-md-4 col-md-8 col-lg-7">
@@ -730,28 +730,34 @@
<div class="row">
<div class="col">
<form action="/website_form/" method="post" class="s_website_form container-fluid" enctype="multipart/form-data" data-force_action="shop.sale.order" data-model_name="sale.order" data-success_page="/shop/payment">
<div class="form-group row form-field o_website_form_custom">
<div class="col-lg-3 col-md-4 text-md-right">
<label class="col-form-label" for="client_order_ref">Your Reference</label>
</div>
<div class="col-lg-9 col-md-8">
<input type="text" class="form-control o_website_form_input" name="client_order_ref"/>
<div class="form-group form-field o_website_form_custom">
<div class="row">
<div class="col-lg-3 col-md-4 text-md-right">
<label class="col-form-label" for="client_order_ref">Your Reference</label>
</div>
<div class="col-lg-9 col-md-8">
<input type="text" class="form-control o_website_form_input" name="client_order_ref"/>
</div>
</div>
</div>
<div class="form-group row form-field o_website_form_custom">
<div class="col-lg-3 col-md-4 text-md-right">
<label class="col-form-label" for="Give us your feedback">Give us your feedback</label>
</div>
<div class="col-lg-9 col-md-8">
<textarea class="form-control o_website_form_input" rows="8" name="Give us your feedback" />
<div class="form-group form-field o_website_form_custom">
<div class="row">
<div class="col-lg-3 col-md-4 text-md-right">
<label class="col-form-label" for="Give us your feedback">Give us your feedback</label>
</div>
<div class="col-lg-9 col-md-8">
<textarea class="form-control o_website_form_input" rows="8" name="Give us your feedback" />
</div>
</div>
</div>
<div class="form-group row form-field o_website_form_custom">
<div class="col-lg-3 col-md-4 text-md-right">
<label class="col-form-label" for="a_document">A document to provide</label>
</div>
<div class="col-lg-9 col-md-8">
<input type="file" class="form-control o_website_form_input" name="a_document" />
<div class="form-group form-field o_website_form_custom">
<div class="row">
<div class="col-lg-3 col-md-4 text-md-right">
<label class="col-form-label" for="a_document">A document to provide</label>
</div>
<div class="col-lg-9 col-md-8">
<input type="file" class="form-control o_website_form_input" name="a_document" />
</div>
</div>
</div>
<div class="form-group row">

0 comments on commit 1d2dbdc

Please sign in to comment.