diff --git a/app/views/sites/index.html.erb b/app/views/sites/index.html.erb new file mode 100644 --- /dev/null +++ b/app/views/sites/index.html.erb @@ -0,0 +1,24 @@ +

Listing sites

+ + + + + + + + +<% for site in @sites %> + + + + + + + + +<% end %> +
NameStartedStart time
<%=h site.name %><%=h site.started %><%=h site.start_time %><%= link_to 'Show', site %><%= link_to 'Edit', edit_site_path(site) %><%= link_to 'Destroy', site, :confirm => 'Are you sure?', :method => :delete %>
+ +
+ +<%= link_to 'New site', new_site_path %>