The ability to remove address and reduce min. search length to 1 (thanks keycloak!)

This commit is contained in:
dsc 2022-03-19 23:34:59 +02:00
parent 5fc91af0a4
commit 6d86bf77e7
3 changed files with 19 additions and 9 deletions

View file

@ -5,7 +5,7 @@
</div>
<div id="main">
<article>
<article style="min-width: 620px">
<Header>Welcome back <em>{{user.username}}</em>!</Header>
Current <u>WOW address</u>: <label>
{% if user.address %}
@ -18,7 +18,10 @@
Change <u>WOW address</u>:
<form action="{{ url_for('bp_routes.dashboard_address_post') }}" method="POST">
<input type="text" name="address">
<button data-tooltip="Be sure it's correct">Submit</button>
<button data-tooltip="Make sure it is correct!">Submit</button>
</form>
<form action="{{ url_for('bp_routes.dashboard_address_delete') }}" method="POST">
<button class="secondary" data-tooltip="Remove address from YelloWOWPages">Delete</button>
</form>
</footer>