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

26 lines
437 B
Plaintext

%h2 Add a New Parent
= form_for :parent do |f|
= f.label :first_name
= f.text_field :first_name
= f.label :last_name
= f.text_field :last_name
= f.label :phone
= f.phone_field :phone
= f.label :email
= f.email_field :email
%h3 Children:
= fields_for :child do |child|
= child.label :first_name
= child.text_field :first_name
= child.label :last_name
= child.text_field :last_name
= f.submit