Set autocomplete=off on form to avoid back history; make textarea required
This commit is contained in:
parent
2aa7272a59
commit
37f5d2b658
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@
|
||||||
<section>
|
<section>
|
||||||
<div class="page-header"><h1>Set Secret</h1></div>
|
<div class="page-header"><h1>Set Secret</h1></div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<form role="form" id="password_create" method="post">
|
<form role="form" id="password_create" method="post" autocomplete="off">
|
||||||
<div class="col-sm-6 margin-bottom-10">
|
<div class="col-sm-6 margin-bottom-10">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></span>
|
<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></span>
|
||||||
<textarea rows="10" cols="50" id="password" name="password" autofocus="true" class="form-control" placeholder="SnapPass allows you to share secrets in a secure, ephemeral way. Input a single or multi-line secret, its expiration time, and click Generate URL. Share the one-time use URL with your intended recipient." aria-describedby="basic-addon1" autocomplete="off"></textarea>
|
<textarea rows="10" cols="50" id="password" name="password" autofocus="true" class="form-control" placeholder="SnapPass allows you to share secrets in a secure, ephemeral way. Input a single or multi-line secret, its expiration time, and click Generate URL. Share the one-time use URL with your intended recipient." aria-describedby="basic-addon1" autocomplete="off" required></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue