fix add pgp
This commit is contained in:
parent
ade21bc0c4
commit
ca625e60d5
|
@ -117,16 +117,16 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label class="form-label">PGP Public Key</label>
|
|
||||||
|
|
||||||
<textarea name="pgp"
|
|
||||||
{% if not current_user.is_premium() %} disabled {% endif %}
|
|
||||||
class="form-control" rows=10
|
|
||||||
placeholder="-----BEGIN PGP PUBLIC KEY BLOCK-----">{{ mailbox.pgp_public_key or "" }}</textarea>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="form-label">PGP Public Key</label>
|
||||||
|
|
||||||
|
<textarea name="pgp"
|
||||||
|
{% if not current_user.is_premium() %} disabled {% endif %}
|
||||||
|
class="form-control" rows=10
|
||||||
|
placeholder="-----BEGIN PGP PUBLIC KEY BLOCK-----">{{ mailbox.pgp_public_key or "" }}</textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="form-name" value="pgp">
|
<input type="hidden" name="form-name" value="pgp">
|
||||||
<button class="btn btn-primary" name="action"
|
<button class="btn btn-primary" name="action"
|
||||||
{% if not current_user.is_premium() %} disabled {% endif %}
|
{% if not current_user.is_premium() %} disabled {% endif %}
|
||||||
|
|
Loading…
Reference in a new issue