${_('SSH Keys')}

%if c.user_ssh_keys: %for ssh_key in c.user_ssh_keys: %endfor %else: %endif
${_('Fingerprint')} ${_('Description')} ${_('Created')} ${_('Action')}
${ssh_key.ssh_key_fingerprint} ${ssh_key.description} ${h.format_date(ssh_key.created_on)} ${h.secure_form(h.route_path('edit_user_ssh_keys_delete', user_id=c.user.user_id), method='POST', request=request)} ${h.hidden('del_ssh_key', ssh_key.ssh_key_id)} ${h.end_form()}
${_('No additional ssh keys specified')}
${h.secure_form(h.route_path('edit_user_ssh_keys_add', user_id=c.user.user_id), method='POST', request=request)}
${h.text('description', class_='medium', placeholder=_('Description'))} ${_('Generate random RSA key')}
${h.textarea('key_data',c.default_key, size=30, placeholder=_("Public key, begins with 'ssh-rsa', 'ssh-dss', 'ssh-ed25519', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', or 'ecdsa-sha2-nistp521'"))}
${h.submit('save',_('Add'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")}
${h.end_form()}