<?xml version="1.0" encoding="utf-8"?>
<templates>
    <div t-name="project.SubtaskCreate" class="subtask_create_input d-flex" owl="1">
        <input type="text" title="Rename" 
            class='o_input border-0 border-bottom py-1'
            t-att-class="{'o_field_invalid border-danger': state.isFieldInvalid}"
            t-ref='subtaskCreateInput'
            t-att-value="state.name"
            t-att-placeholder="placeholder"
            t-on-input="_onInput"
            t-on-click="_onClick"
            t-on-change="_onNameChanged"
            t-att-disabled="props.isReadonly"/>
        <button t-on-click="_onSaveClick" class="ms-auto fw-bold btn btn-link py-0 px-2">
            SAVE
        </button>
    </div>
</templates>
