You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sqm-dashboards/app/views/legacy/recipients/index.html.haml

34 lines
1020 B

%h1 Recipients
%table
%thead
%tr
%th Name
%th Phone
%th Birth date
%th Gender
%th Race
%th Ethnicity
%th Home language
%th Income
%th Opted out
%th School
%th{:colspan => "3"}
%tbody
- @recipients.each do |recipient|
%tr
%td= recipient.name
%td= recipient.phone
%td= recipient.birth_date
%td= recipient.gender
%td= recipient.race
%td= recipient.ethnicity
%td= recipient.home_language_id
%td= recipient.income
%td= recipient.opted_out
%td= recipient.school_id
%td= link_to 'Show', legacy_school_legacy_recipient_path(@school, recipient)
%td= link_to 'Edit', edit_legacy_school_legacy_recipient_path(@school, recipient)
%td= link_to 'Destroy', legacy_school_legacy_recipient_path(@school, recipient), method: :delete, data: { confirm: 'Are you sure?' }
%br/
= link_to 'New Recipient', new_legacy_school_legacy_recipient_path(@school)