sms-pager/app/views/parents/index.haml

12 lines
226 B
Plaintext

%h1 Parents
- @parents.each do |parent|
%ul
%li= parent.name
%li= number_to_phone parent.phone
%li= mail_to parent.email
%li Children:
%ul
- parent.children.each do |child|
%li= child.name