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

12 lines
249 B
Plaintext
Raw Normal View History

2015-09-18 15:50:52 -05:00
%h1 Parents
- @parents.each do |parent|
%ul
2015-09-20 22:30:44 -05:00
%li #{parent.name} #{page_link(parent)}
2015-09-18 15:50:52 -05:00
%li= number_to_phone parent.phone
%li= mail_to parent.email
%li Children:
%ul
- parent.children.each do |child|
%li= child.name