.contextual
  = icon_link_to :new, new_invoice_asset_path(resource, :asset => {:purchase_invoice_id => resource.id}), :remote => true
%h3= t('title.assets')

#assets_list
  - unless resource.assets.empty?
    %table.list
      %tr
        %th= t_attr :title, Asset
        %th= t_attr :direct_account, Asset
        %th.currency= t_attr :amount, Asset

      = render :partial => 'invoices/asset', :collection => resource.assets

.contextual
  = icon_link_to :new, new_invoice_asset_path(resource, :asset => {:purchase_invoice_id => resource.id}), :remote => true
%h3= t('title.assets')

#assets_list
  - unless resource.assets.empty?
    %table.list
      = render :partial => 'invoices/asset', :collection => resource.assets

Drop headings for asset list in invoices.
Drop headings for asset list in invoices.
