Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 1 | <div id="tfa_keys"> |
| 2 | {% if tfa_data.additional %} |
| 3 | {% for key_info in tfa_data.additional %} |
| 4 | <form style="display:inline;" method="post"> |
| 5 | <input type="hidden" name="unset_tfa_key" value="{{ key_info.id }}"> |
| 6 | <p> |
| 7 | <span style="padding:4px;margin:4px" class="label label-keys label-{% if tfa_id == key_info.id %}success{% else %}default{% endif %}"> |
| 8 | {{ key_info.key_id }} |
| 9 | <a href="#" style="font-weight:bold;color:white" onClick='return confirm("{{ lang.admin.ays }}")?$(this).closest("form").submit():"";'>[{{ lang.admin.remove }}]</a> |
| 10 | </span> |
| 11 | </p> |
| 12 | </form> |
| 13 | {% endfor %} |
| 14 | {% endif %} |
| 15 | </div> |