Skip to content

Commit

Permalink
Display recently used words on only the legislation tab
Browse files Browse the repository at this point in the history
  • Loading branch information
veezus committed Mar 30, 2009
1 parent 43edfd8 commit 86b9226
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/views/congress_people/show.html.haml
Expand Up @@ -64,13 +64,13 @@
%br/
= link_to "View all Youtube videos", @congress_person.youtube_url

#latest_words
%h3 Recently used words
%p According to the congressional record, these are the most commonly-used words for this congress person:
.latest_words
= @congress_person.latest_words(:results => 10).join(", ") << "..."
= link_to "More information", capitol_words_url_for(@congress_person)
#introduced_bills
#latest_words
%h3 Recently used words
%p According to the congressional record, these are the most commonly-used words for this congress person:
.latest_words
= @congress_person.latest_words(:results => 10).join(", ") << "..."
= link_to "More information", capitol_words_url_for(@congress_person)
- if @congress_person.has_introduced_bills?
%h3 Bills Introduced:
.introduced_bills
Expand Down

0 comments on commit 86b9226

Please sign in to comment.