odoo/addons/hr_holidays/static/src/xml/qweb.xml

25 lines
1.1 KiB
XML

<template>
<div t-name="hr_holidays.QuickCreate" class="oe_calendar_quick_create openerp">
<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>
<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>