% if params[:repo_name] %>
<%= erb :clone_repo, :layout => false %>
<% end %>
Repositories [+]
<% @repos.each do |r| %>
-
repo
<%= h(r.name) %> -
<%= link_to "view", "/repos/#{URI.encode(r.name)}" %> or
<%= delete_link "remove", "/repos/#{URI.encode(r.name)}" %>
<% end %>
<% @users.each do |u| %>
-
"><%= u.admin? ? "admin" : "user" %>
<%= h(u.name) %> -
<%= link_to "view", "/users/#{URI.encode(u.name)}" %> or
<%= delete_link "remove", "/users/#{URI.encode(u.name.strip)}" %>
<% end %>