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.2.0.pre.11 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.10 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.9 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.8 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.7 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.6 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.5 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.4 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.3 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.2 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre.1 app/views/assignments/new.html.haml
artfully_ose-1.2.0.pre app/views/assignments/new.html.haml