diff options
Diffstat (limited to 'projects/devdashboard/app/views/herds/show.rhtml')
-rw-r--r-- | projects/devdashboard/app/views/herds/show.rhtml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/projects/devdashboard/app/views/herds/show.rhtml b/projects/devdashboard/app/views/herds/show.rhtml new file mode 100644 index 0000000..15eff92 --- /dev/null +++ b/projects/devdashboard/app/views/herds/show.rhtml @@ -0,0 +1,14 @@ +<% for column in Herd.content_columns %> +<p> + <b><%= column.human_name %>:</b> <%=h @herd.send(column.name) %> +</p> +<% end %> + +<p><b>Developers:</b></p> +<ul> +<% for developer in @herd.developers -%> + <li><%= link_to developer.nickname, :controller => 'developers', :action => 'show', :id => developer %></li> +<% end %> +</ul> + +<%= link_to 'Show all developers', :action => 'list' %> |