Skip to content

Commit

Permalink
Fix category in account summary
Browse files Browse the repository at this point in the history
  • Loading branch information
rubydev committed Nov 12, 2011
1 parent 393537a commit 8f6e463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/accounts/_sidebar_show.html.haml
Expand Up @@ -35,7 +35,7 @@
%dt= lost != 0.0 ? number_to_currency(lost, :precision => 0) : t(:n_a)
%tt #{t :lost}:
%li
%dt= t(@account.category, :default => :other)
%dt= @account.category ? t(@account.category) : t(:other)
%tt #{t :category}:
%li
%span{:style => "float:right;"}= stars_for(@account)
Expand Down

0 comments on commit 8f6e463

Please sign in to comment.