${_('SSH Keys')}

% if not c.ssh_enabled: % else: %if c.user_ssh_keys: %for ssh_key in c.user_ssh_keys: %endfor %else: %endif % endif
${_('Fingerprint')} ${_('Description')} ${_('Created')} ${_('Action')}
${_('SSH Keys usage is currently disabled, please ask your administrator to enable them.')}
${ssh_key.ssh_key_fingerprint} ${ssh_key.description} ${h.format_date(ssh_key.created_on)} ${h.secure_form(h.route_path('my_account_ssh_keys_delete'), method='POST', request=request)} ${h.hidden('del_ssh_key', ssh_key.ssh_key_id)} ${h.end_form()}
${_('No additional ssh keys specified')}
% if c.ssh_enabled:
${h.secure_form(h.route_path('my_account_ssh_keys_add'), 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()}
% endif