Change password input for textarea

This commit is contained in:
Joseph Boiteau 2017-01-05 11:01:16 +11:00
parent ad4012dfbe
commit d330f94967
No known key found for this signature in database
GPG key ID: 03569E835707F0B0
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
<p>Save the following password to a secure location.</p>
<div class="row">
<div class="col-sm-6 margin-bottom-10">
<input type="text" class="form-control" id="password-text" value="{{ password }}" readonly="readonly">
<textarea class="form-control" rows="10" cols="50" id="password-text" name="password-text" readonly="readonly">{{ password }}</textarea>
</div>
<div class="col-sm-6">
@ -26,4 +26,4 @@
{% block js %}
<script src="{{ config.STATIC_URL }}/clipboardjs/clipboard.min.js"></script>
<script src="{{ config.STATIC_URL }}/snappass/scripts/clipboard_button.js"></script>
{% endblock %}
{% endblock %}

View file

@ -9,7 +9,7 @@
<div class="col-sm-6 margin-bottom-10">
<div class="input-group">
<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></span>
<input type="text" id="password" name="password" autofocus="true" class="form-control" placeholder="Password" aria-describedby="basic-addon1" autocomplete="off">
<textarea rows="10" cols="50" id="password" name="password" autofocus="true" class="form-control" placeholder="Password" aria-describedby="basic-addon1" autocomplete="off"></textarea>
</div>
</div>
@ -35,7 +35,7 @@
<li>Share the <strong>one-time use URL</strong> with your intended recipient</li>
</ol>
</section>
</section>
</div>
{% endblock %}