<%= watcher_link(@account, User.current) %>
<%= link_to_if_authorized l(:button_edit), {:controller => "accounts", :action => "edit", :id => @account}, :class => 'icon icon-edit' unless @account.nil? %>
<%= link_to_if_authorized l(:button_delete), {:controller => "accounts", :action => "destroy", :id => @account}, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' unless @account.nil? %>
<%= "#{@account.name }: #{@account.amount_to_s}" %>
<%= render_custom_fields_rows(@account) %>
<%= call_hook(:view_accounts_show_details_bottom, :account => @account) %>
<% if @account.description? || (@account.attachments && @account.attachments.any?) -%>
<% if @account.description? %>
<%=l(:field_description)%>
<% attachments = nil %>
<%= textilizable @account, :description, :attachments => attachments %>
<% end %>
<%= link_to_attachments @account, :thumbnails => true %>
<% end -%>
<%= call_hook(:view_accounts_show_description_bottom, :account => @account) %>
<% unless @operations.empty? %>
<% end %>
<% content_for :sidebar do %>
<% end %>
<% html_title "#{l(:label_account)} ##{@account.id}: #{@account.name}" %>
<% content_for :header_tags do %>