Sha256: 2ed681ec01edafbc415a8699a67aff98d12602d4fbe5967a3aa74491eb8ad4a0

Contents?: true

Size: 710 Bytes

Versions: 1

Compression:

Stored size: 710 Bytes

Contents

= contextual_links

%h1= t_title

= render 'persons/show', :vcard => resource.vcard

- 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'

%h2= t_title :index, CreditInvoice
= render 'credit_invoices/list'

%h2= t_title :index, DebitInvoice
= render 'debit_invoices/list'

.contextual
  = icon_link_to :new, new_company_attachment_path(resource), :remote => true
%h3= t('title.attachments')

- @attachments = resource.attachments
#attachments_list
  = render 'attachments/list' unless @attachments.empty?

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt-0.0.1 app/views/companies/show.html.haml