fix label to checkbox
This commit is contained in:
parent
e55e8609bd
commit
e133fcecfc
1 changed files with 2 additions and 0 deletions
|
@ -12,8 +12,10 @@
|
||||||
<label for="ssh_pubkey">SSH-Pubkey</label>
|
<label for="ssh_pubkey">SSH-Pubkey</label>
|
||||||
<textarea name="ssh_pubkey" id="ssh_pubkey" readonly>{{ request.form['ssh_pubkey'] or pubkey['ssh_pubkey'] }}</textarea>
|
<textarea name="ssh_pubkey" id="ssh_pubkey" readonly>{{ request.form['ssh_pubkey'] or pubkey['ssh_pubkey'] }}</textarea>
|
||||||
<!--div class="about">{{ request.form['ssh_pubkey'] or pubkey['ssh_pubkey'] }}<div-->
|
<!--div class="about">{{ request.form['ssh_pubkey'] or pubkey['ssh_pubkey'] }}<div-->
|
||||||
|
<div>
|
||||||
<input type="checkbox" name="deleted" id="deleted" {% if pubkey['deleted'] != 0 %}checked="checked" {% endif %}>
|
<input type="checkbox" name="deleted" id="deleted" {% if pubkey['deleted'] != 0 %}checked="checked" {% endif %}>
|
||||||
<label for="deleted">Key marked as deleted</label>
|
<label for="deleted">Key marked as deleted</label>
|
||||||
|
</div>
|
||||||
<input type="submit" value="Save">
|
<input type="submit" value="Save">
|
||||||
</form>
|
</form>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
Loading…
Reference in a new issue