2013-11-23 11:36:27 +00:00
|
|
|
<template>
|
|
|
|
<div t-name="hr_holidays.QuickCreate" class="oe_calendar_quick_create openerp">
|
2013-12-17 12:18:08 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label for='name' class=' control-label'>Description:</label>
|
|
|
|
<input name='name' class=" qc_name form-control"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for='holiday_status_id' class=' control-label'>Type:</label>
|
|
|
|
<select name='holiday_status_id' class="qc_type form-control"></select>
|
|
|
|
</div>
|
2013-11-23 11:36:27 +00:00
|
|
|
<t t-if="widget._buttons">
|
|
|
|
<div class="oe_calendar_quick_create_buttons">
|
|
|
|
<button class="oe_button oe_calendar_quick_create_add ">Add</button>
|
|
|
|
<button class="oe_button oe_link oe_calendar_quick_create_edit "><span>Edit</span></button>
|
|
|
|
</div>
|
|
|
|
</t>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<t t-name="hr_holidays.QuickCreate.select">
|
|
|
|
<div t-foreach="elements" class="oe_calendar_responsible" >
|
|
|
|
<option t-att-value="elements_value.value"> <t t-esc="elements_value.label" /> </option>
|
|
|
|
</div>
|
|
|
|
</t>
|
|
|
|
|
|
|
|
</template>
|