app port from old version
This commit is contained in:
11
app/views/parents/index.haml
Normal file
11
app/views/parents/index.haml
Normal 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
|
Reference in New Issue
Block a user