Polishin & fixed tree switch

This commit is contained in:
Dmitriy Zaporozhets 2012-03-06 00:29:40 +02:00
parent cb59aade4e
commit eb7bbedb20
11 changed files with 82 additions and 50 deletions

View file

@ -5,6 +5,7 @@
= link_to new_project_deploy_key_path(@project), :class => "btn small", :title => "New Deploy Key" do
Add Deploy Key
%table.zebra-striped.borders
- @keys.each do |key|
= render(:partial => 'show', :locals => {:key => key})
- if @keys.any?
%table.zebra-striped.borders
- @keys.each do |key|
= render(:partial => 'show', :locals => {:key => key})