[IMP] web: add widget signature
Adding a new widget to display a sign button in the form view. task-1878607
This commit is contained in:
@@ -1563,4 +1563,10 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="SignButton">
|
||||
<button t-attf-class="btn o_sign_button #{widget.node.attrs.highlight?'btn-primary':'btn-secondary'}">
|
||||
<span class="o_sign_label"><t t-esc="widget.node.attrs.string"/></span>
|
||||
</button>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user