app port from old version

This commit is contained in:
2015-09-18 15:50:52 -05:00
parent cb7e47a466
commit f8c03d6f5c
19 changed files with 167 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
%h1 Children
- @children.each do |child|
%ul
%li= child.name
%ul
- child.parents.each do |parent|
%li #{parent.name}: #{number_to_phone parent.phone}

View File

@@ -0,0 +1,11 @@
%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

View File

@@ -0,0 +1,4 @@
%h1 Staff
%ul
- @staff.each do |staff|
%li= staff.name

View File

@@ -0,0 +1,5 @@
%h1 Users
%ul
- @users.each do |user|
%li= user.name