Sha256: 1a4ba9cdc5513cd5b376c6c4b281b39ababe2b9d385aaaa3845bc8c9b5a4fc3d
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
- content_for :sub_header do ol.breadcrumb li = link_to 'Home', '/' li.active = "People" - content_for :context do .individual-context: .context = context_icon :user = link_to "New individual", customer_vault.new_individual_path, class: "btn btn-success" .corporation-context: .context = context_icon :users = link_to "New corporation", customer_vault.new_corporation_path, class: "btn btn-success" - content_for :main do - if @people.empty? h1 = "There isn't any people" - else p.sorting = "Trier par : " = sortable_column 'Nom', :column => "name" = ", " = sortable_column 'Code postal', :column => "zip" ul.people - @people.each do |person| li.person - if person.instance_of? CustomerVault::Individual = render partial: 'customer_vault/individuals/list_details', locals: {i: person} - if person.instance_of? CustomerVault::Corporation = render partial: 'customer_vault/corporations/list_details', locals: {c: person} = paginate @people = render "agilidee_commons/contextual"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
customer_vault-1.2.0 | app/views/customer_vault/people/index.html.slim |
customer_vault-1.1.0 | app/views/customer_vault/people/index.html.slim |