%if c.user_ssh_keys: %for ssh_key in c.user_ssh_keys: %endfor %else: %endif
${_('Fingerprint')} ${_('Description')} ${_('Last Used')} ${_('Action')}
${ssh_key.fingerprint} ${ssh_key.description} %if ssh_key.last_seen: ${h.fmt_date(ssh_key.last_seen)} %else: ${_('Never')} %endif ${h.form(url('my_account_ssh_keys_delete'))} ${h.hidden('del_public_key_fingerprint', ssh_key.fingerprint)} ${h.end_form()}
${_('No SSH keys have been added')}
${h.form(url('my_account_ssh_keys'))}
${h.textarea('public_key', '', class_='form-control', placeholder=_('Public key (contents of e.g. ~/.ssh/id_rsa.pub)'), cols=80, rows=5)}
${h.text('description', class_='form-control', placeholder=_('Description'))}
${h.submit('save', _('Add'), class_="btn btn-default")} ${h.reset('reset', _('Reset'), class_="btn btn-default")}
${h.end_form()}