%tr[account]
  %td= account.code
  %td= link_to account.title, url_for(account), :by_value_period => params[:by_value_period]
  - if @date
    %td{:style => "text-align: right"}= currency_fmt(account.saldo(@date))
  - elsif params[:by_value_period]
    %td{:style => "text-align: right"}= currency_fmt(account.saldo(params[:by_value_period][:from]..params[:by_value_period][:to]))
  - else
    %td{:style => "text-align: right"}= currency_fmt(account.saldo)
  %td.action-links
    = list_link_for(:edit, account)
    = list_link_for(:delete, account)

%tr[account]
  %td= account.code
  %td= link_to account.title, url_for(account), {'data-href-container' => 'tr'}, :by_value_period => params[:by_value_period]
  - if @date
    %td{:style => "text-align: right"}= currency_fmt(account.saldo(@date))
  - elsif params[:by_value_period]
    %td{:style => "text-align: right"}= currency_fmt(account.saldo(params[:by_value_period][:from]..params[:by_value_period][:to]))
  - else
    %td{:style => "text-align: right"}= currency_fmt(account.saldo)
  %td.action-links
    = list_link_for(:edit, account)
    = list_link_for(:delete, account)

Make account items in list fully clickable
Make account items in list fully clickable
