Merge pull request #103 from pinterest/autocomplete-off-and-required-textarea
Set autocomplete=off on form to avoid back history; make textarea field required
This commit is contained in:
commit
f0f2c9d5d8
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@
|
|||
<section>
|
||||
<div class="page-header"><h1>Set Secret</h1></div>
|
||||
<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="input-group">
|
||||
<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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue