Skip to content

Commit

Permalink
Fixed resource index to properly nest list items inside of lists.
Browse files Browse the repository at this point in the history
  • Loading branch information
reidab committed Mar 24, 2011
1 parent d911143 commit 4d08c03
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/views/resources/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
- @resources.keys.sort.each do |category|
%h2 #{category}
%ul{:class => 'resources'}
- @resources[category].each do |resource|
%li{:id => resource.id}
%a{:href => normalize_url(resource.url)}
%strong.name= resource.name
%span.description — #{resource.description}
%a{:href => edit_resource_path(resource)} edit
- @resources[category].each do |resource|
%li{:id => resource.id}
%a{:href => normalize_url(resource.url)}
%strong.name= resource.name
%span.description — #{resource.description}
%a{:href => edit_resource_path(resource)} edit

0 comments on commit 4d08c03

Please sign in to comment.