Fix problem with whitespaces in copied token

This commit is contained in:
Paweł Jastrzębski 2021-11-17 11:46:35 +01:00
parent e2d438134a
commit 8302aedaa7
2 changed files with 2 additions and 6 deletions

View File

@ -8,9 +8,7 @@
<div>
<p class="label">Token</p>
<div class="flex justify-between">
<span class='chip ~info !normal'>
{{request.user.api_token}}
</span>
<span class='chip ~info !normal'>{{request.user.api_token}}</span>
<a class="href" href="{% url 'dashboard:api_token_refresh' %}">
<button type="submit" class="button ~warning !high">Refresh token</button>
</a>

View File

@ -33,9 +33,7 @@
<hr class="sep h-4">
<div>
<p class="label">API Token</p>
<span class='chip ~info !normal'>
{{request.user.api_token}}
</span>
<span class='chip ~info !normal'>{{request.user.api_token}}</span>
</div>
</div>
{% endblock %}