Created
April 11, 2025 23:34
-
-
Save ofelix03/eb18170b46c62d2893e438e1a73d9836 to your computer and use it in GitHub Desktop.
FormSaveReasonDialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<templates id="template" xml:space="preserve"> | |
<t t-name="fotoo.FormSaveReasonDialog"> | |
<Dialog title="'Contact Modification Reason'" technical="true"> | |
<div> | |
<label class="form-label">Reason</label> | |
<div> | |
<input t-att-value="state.reason" class="form-control" autofocus="true" /> | |
</div> | |
</div> | |
<t t-set-slot="footer"> | |
<div class="d-flex gap-1"> | |
<button class="btn btn-primary" t-on-click="onSave">Save</button> | |
<button class='btn btn-secondary' t-on-click="() => this.props.close()">Discard</button> | |
</div> | |
</t> | |
</Dialog> | |
</t> | |
</templates> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment