Skip to content

Commit

Permalink
[FIX] auth_sms: template improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
NL66278 committed Jan 17, 2025
1 parent 5c3305a commit b845d93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions auth_sms/templates/template_code.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<attribute name="t-attf-action">/auth_sms/code</attribute>
<attribute name="onsubmit" />
</xpath>
<!-- Remove database selector. -->
<xpath expr="//label[@for='db']/parent::div" position="replace" />
<xpath expr="//form" position="inside">
<input type="hidden" name="secret" t-att-value="secret" />
<input type="hidden" name="user_login" t-att-value="login" />
Expand All @@ -17,5 +19,8 @@
<xpath expr="//label[@for='password']" position="replace">
<label for="password" class="control-label">Code</label>
</xpath>
<xpath expr="//input[@name='password']" position="attributes">
<attribute name="placeholder" />
</xpath>
</template>
</odoo>

0 comments on commit b845d93

Please sign in to comment.