.contextual
  = link_to t_action('edit'), edit_invoice_path(@invoice)
  = link_to t_action('index'), invoices_path
%h1= t_title

#invoice{:style =>"position: relative"}
  = render 'invoice_info'
  = render 'invoice_parties'
  = render 'invoice_body'

.contextual
  = link_to t_action('edit'), edit_invoice_path(@invoice)
  = link_to t_action('index'), invoices_path
  = link_to "PDF", invoice_path(:format => :pdf)

%h1= t_title

#invoice{:style =>"position: relative"}
  = render 'invoice_info'
  = render 'invoice_parties'
  = render 'invoice_body'

Add PDF link to invoice view.
Add PDF link to invoice view.
