Permalink
Browse files

Add user avatar for account identification

  • Loading branch information...
1 parent b88cc5a commit 1b675504b423abd83417fe5c2700eeb04b8a62a3 @rwdaigle committed Oct 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/gists/search.html.haml
View
4 app/views/gists/search.html.haml
@@ -9,9 +9,9 @@
%p
= form_tag(search_gists_path, :method => "get", :id => "search-form") do
- = label_tag(:q, "Search your gists:")
+ = image_tag("#{current_user.gh_avatar_url}&s=25")
= text_field_tag(:q, params[:q], :size => 50, :class => "mousetrap")
- = submit_tag("Go")
+ = submit_tag("Search")
= "(last indexed: #{current_user.last_gh_fetch ? current_user.last_gh_fetch.to_formatted_s(:short) : "not yet"})"
- if @results.size > 0

0 comments on commit 1b67550

Please sign in to comment.