mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
33 lines
1,020 B
Text
33 lines
1,020 B
Text
%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)
|