Sha256: ab3c4a1f17f8f21d072e02fb0e485eba33c05e9a3aeedcd483f605aea7587da0
Contents?: true
Size: 863 Bytes
Versions: 2
Compression:
Stored size: 863 Bytes
Contents
- if people.empty? %p No results found. - else %table.table.people-list - people.each do |person| %tr %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 } - if !people.empty? and params[:search].present? .form-actions.row-fluid .pull-left = form_for(Segment.new(:terms => params[:search]), :url => new_segment_path, :html => {:method => :get}) do |form| = form.hidden_field :terms = form.submit "New List Segment", :class => "btn" .pull-left = form_tag(people_path(:format => :csv), :method => :get) do = hidden_field_tag :search, params[:search] = submit_tag "Export CSV", :class => "btn"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
artfully_ose-1.0.0.rc4 | app/views/people/_list.html.haml |
artfully_ose-1.0.0.rc3 | app/views/people/_list.html.haml |