%- model_class = PublicKey -%>
<%= 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 %> |