<%= form_for [@page, @comment], remote: true do |form| %>

Post a comment

<%= render('shared/form_errors', form: form) %>
<%= form.label :name %> <%= form.text_field :name %>
<%= form.label :email %> <%= form.email_field :email %>
<%= form.label :website %> <%= form.telephone_field :website %>
<%= form.label :comment %> <%= form.text_area :comment %>
<%= form.label :body %> <%= form.text_area :body %>
<%= form.button class: 'btn btn--standard btn--brand' %>
<% end %>