<%- model_class = PublicKey -%> <% @public_keys.each do |public_key| %> <% end %>
<%= model_class.human_attribute_name(:comment) %> <%= model_class.human_attribute_name(:created_at) %> <%=t '.actions', :default => t("helpers.actions") %>
<%= link_to public_key.comment, public_key_path(public_key) %> <%=l public_key.created_at %> <% if can? :destroy, public_key %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), public_key_path(public_key), :method => :delete, :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-mini btn-danger' %> <% end %>
<% if can? :create, PublicKey %> <%= link_to t('.new', :default => t("helpers.links.new")), new_public_key_path, :class => 'btn btn-primary' %> <% end %>