Sha256: 9137cbfa2a92f54ab463ff193a8a94ae76331f836f85f513e71e9b2308a96a2a

Contents?: true

Size: 1.08 KB

Versions: 32

Compression:

Stored size: 1.08 KB

Contents

- in_section :people
- content_for :header do
  %h1 Assign Person to an Order

.row
  .span4
    = form_tag new_order_assignment_path, {:method => 'get', :class => 'form-search'} do
      = hidden_field_tag :commit, "Search"
      %ul
        %li
          = text_field_tag :search, "", :placeholder => "Email address or name", :class => "input-medium search-query"
          = submit_tag "Search", :class => 'btn'
  .span8.super-search-results
    - if @people.empty?
       
    -else
      %table.table.people-list
        - @people.each do |person|
          %tr
            %td
              = form_tag order_assignment_path do
                = hidden_field_tag :person_id, person.id
                = submit_tag "Select", :class=>'btn btn-small'
            %td.name
              = link_to "#{person.first_name} #{person.last_name}", 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

32 entries across 32 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/views/assignments/new.html.haml
artfully_ose-1.3.0.pre3 app/views/assignments/new.html.haml
artfully_ose-1.3.0.pre2 app/views/assignments/new.html.haml
artfully_ose-1.3.0.pre1 app/views/assignments/new.html.haml
artfully_ose-1.2.0 app/views/assignments/new.html.haml
artfully_ose-1.2.0.beta.1 app/views/assignments/new.html.haml
artfully_ose-1.2.0.alpha.2 app/views/assignments/new.html.haml
artfully_ose-1.2.0.alpha.1 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.27 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.26 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.24 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.23 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.21 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.20 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.19 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.18 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.17 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.16 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.15 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.12 app/views/assignments/new.html.haml