verify.eta 575 B

1234567891011121314151617
  1. <% layout("/en/layout", { title: "verify" }) %>
  2. <h2>verification</h2>
  3. <p>enter the code from your email or click on the link</p>
  4. <% const errorValue = it.error?.split('.').reduce((a, b) => a[b], it.lang.auth?.errors)?.(it?.errorDetails) %>
  5. <% if (errorValue) { %>
  6. <p class="error" style="color: red;"><%= errorValue %></p>
  7. <% } %>
  8. <form action="/en/auth/verify">
  9. <input type="text" name="token" value="<%= it.token %>" style="display: none;" />
  10. <input type="number" length="6" name="code" placeholder="676767" />
  11. <button type="submit">send</button>
  12. </form>