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

12 lines
226 B
Plaintext
Raw Normal View History

2015-09-18 15:50:52 -05:00
%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