Sha256: 56e77c192e2c413ebf3f4bcb9f6ef873c4d4f8ff67bbf48ff3f80834c6db2a7e
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
.outset - render_region :top do |top| - top.search do .search %h2.label_head Filter - form_tag admin_people_path, :method => :get do = label :person, :last_name = text_field :person, :last_name = label :person, :first_name = text_field :person, :first_name = submit_tag 'Search' - if params[:person] = link_to 'Clear results...', admin_people_path - if params[:person] - form_for :merge, :url => merge_admin_people_path() do |f| %table.index %thead %tr - render_region :people_head do |people_head| - people_head.name_column_head do %th Name - people_head.gender_column_head do %th Gender %tbody - unless @people.blank? - @people.each do |person| = render_person(person) %p= submit_tag 'Merge' - else %table.index %thead %tr - render_region :people_head do |people_head| - people_head.name_column_head do %th Name - people_head.gender_column_head do %th Gender %tbody - unless @people.blank? - @people.each do |person| - @current_person = person # for additions = render 'person', :person => person %p= will_paginate @people #actions %ul %li= link_to "Add Person", new_admin_person_path
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radiant-people-extension-1.1.0 | app/views/admin/people/index.html.haml |