<% #-- # Copyright (C) 2007, 2008 Johan Sørensen # Copyright (C) 2008 Tor Arne Vestbø # Copyright (C) 2009 Fabio Akita # Copyright (C) 2009 Tor Arne Vestbø # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . #++ %> <%= breadcrumbs_from(current_user) -%>

<%= t("views.keys.edit_title") %>

<%= error_messages_for :ssh_key -%> <% form_for @ssh_key, :url => user_key_path(@ssh_key) do |f| -%>

<%= f.label :key, t(:key, :scope => "activerecord.attributes.keys") -%>
<%= f.text_area :key, :class => "text medium" -%>

<%= f.submit t("views.common.save") -%> <% end -%>