Skip to content

Commit

Permalink
fix syntax on haml page
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebaker committed May 8, 2013
1 parent 2a86de9 commit 98bb441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/photocracy/questions/admin.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%th.score= t('items.list.activated')
%tbody
-@choices.each do |choice|
%tr{:class => cycle ("row1", "row2")}
%tr{:class => cycle("row1", "row2")}
%td.title= link_to image_tag(Photo.find(choice.data).image.url(:thumb)), :action => 'show', :controller => "choices", :id => choice.id, :question_id => @earl.name
%td.votes= choice.attributes['score'].round.to_s
%td.votes= choice.attributes['user_created'] ? t('admin.user') : t('admin.seed')
Expand Down

0 comments on commit 98bb441

Please sign in to comment.