= contextual_links

%h1= t_title

= render 'persons/show'


- unless @employments.empty?
  .contextual
    = link_to t_action('new', t('activerecord.models.employment')), new_employment_path, :remote => true, :class => "icon icon-add"
  %h2= t_title :index, Employment

  #new_employment
  = render 'employments/list'

- unless @credit_invoices.empty?
  %h2= t_title :index, CreditInvoice

  = render 'credit_invoices/list'

- unless @debit_invoices.empty?
  %h2= t_title :index, DebitInvoice

  = render 'debit_invoices/list'

= contextual_links

%h1= t_title

= render 'persons/show'

- unless @employments.empty?
  .contextual
    = link_to t_action('new', t('activerecord.models.employment')), new_employment_path, :remote => true, :class => "icon icon-add"
  %h2= t_title :index, Employment

  #new_employment
  = render 'employments/list'

- unless @credit_invoices.empty?
  %h2= t_title :index, CreditInvoice

  = render 'credit_invoices/list'

- unless @debit_invoices.empty?
  %h2= t_title :index, DebitInvoice

  = render 'debit_invoices/list'

Drop empty line in companies show.
Drop empty line in companies show.
