Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Commit

Permalink
Remove survey questions from logged in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmahoney committed Jun 27, 2012
1 parent 996a64c commit fe1beaa
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions app/views/home/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,7 @@
.span6
%div{:id=>"chart_div"}
%div{:id=>"network_div"}
- if current_user
.row.new_section
.span12.stats
-if current_user
%h2 Survey Trends
%ul
-Survey.order("created_at DESC").each do |survey|
%li
=survey.name
=render :partial => "surveys/survey_trend", :locals => {:trends => survey.survey_responses.trends_by_response(num=4)}
.clearfix

.row.new_section
.span4.stats
%h2 2012 CFA Stats
Expand Down

0 comments on commit fe1beaa

Please sign in to comment.