.person-context: .context h3 = Flyboy::Task.model_name.human.pluralize ul - person.tasks.where(done: false).map do |task| li a href=flyboy.task_path(task) = task.name - if can?(:complete, task) span.pull-right = complete_button flyboy.complete_task_path(task) = create_button flyboy.new_task_path(taskable_guid: person.guid), action: :new_task hr h3 = CustomerVault::Link.model_name.human.pluralize ul - person.links.map do |link| li a href=customer_vault.url_for(link[:person]) = link[:person].name = " / " = link[:title] - if person.is_a?(CustomerVault::Individual) = create_button customer_vault.new_individual_link_path(person), action: :new_link - if person.is_a?(CustomerVault::Corporation) = create_button customer_vault.new_corporation_link_path(person), action: :new_link