Sha256: c0edc2038bf7890754569fc39bdddf0223ebea68b92788715893e00fc331000a

Contents?: true

Size: 1.36 KB

Versions: 21

Compression:

Stored size: 1.36 KB

Contents

- in_section :people
- content_for :header do
  %h1 People

.row
  .span4
    = form_tag new_merge_path, {:method => :get, :class => 'form-search'} do
      = hidden_field_tag :commit, "Search"
      = hidden_field_tag :loser, @loser.id
      %ul
        %li
          = text_field_tag :search, "", :placeholder => "Email address or name", :class => "input-medium search-query"
          = submit_tag "Search", :class => 'btn'
    %p
      All notes, actions, phone numbers, and tags from 
      %strong= @loser
      will be merged into the #{@loser.type.downcase} record you select on this screen.
    %p
      Mailing address, email, company name, and website for
      %strong= @loser
      will be discarded.
    %p
      You'll have a chance to confirm all of this before we perform the merge.
  .span8.super-search-results
    - if @people.empty?
       
    -else
      %table.table.people-list
        - @people.each do |person|
          %tr
            %td=link_to "Select", new_merge_path(:loser => @loser, :winner => person.id), :class=>'btn btn-small'
            %td.name
              = link_to "#{person}", person_url(person)
              %br
              = person.email
            %td.tags
              = render :partial => 'shared/tags_uneditable', :locals => { :tag_list => person.tag_list }

      = will_paginate @people, :inner_window => 2, :outer_window => 0

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.23 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.21 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.20 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.19 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.18 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.17 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.16 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.15 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.12 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.11 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.10 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.9 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.8 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.7 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.6 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.5 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.4 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.3 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.2 app/views/merges/find_person.html.haml
artfully_ose-1.2.0.pre.1 app/views/merges/find_person.html.haml