Show previous keys if exist in order confirmation
This commit is contained in:
parent
110f29171d
commit
ecc26d14e5
2 changed files with 11 additions and 2 deletions
|
|
@ -151,6 +151,15 @@
|
|||
<div class="dashboard-container-head">
|
||||
<h2 class="dashboard-title-thin"><i class="fa fa-key" aria-hidden="true"></i> {% trans "Add your public SSH key" %}</h2>
|
||||
</div>
|
||||
<div class="previous-keys">
|
||||
{% if keys|length > 0 %}
|
||||
<div class="previous-keys-title">Previous keys</div>
|
||||
{% endif %}
|
||||
{% for key in keys %}
|
||||
<textarea cols="79" readonly oninput='this.style.height = "";this.style.height = this.scrollHeight + "px"'></textarea>
|
||||
<br/>
|
||||
{% endfor %}
|
||||
</>
|
||||
{% for field in form %}
|
||||
{% bootstrap_field field %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue