<%= form_for(@order) do |f| %> <% if @order.errors.any? %>

<%=raw t('errors.template.header', count: @order.errors.count, model: t('activerecord.models.order')) %>.

<%= t('errors.template.body') %>

<% end %>
<%= f.label :name %>
<%= f.text_field :name, size: 40 %>
<%= f.label :address, t('.address_html') %>
<%= f.text_area :address, rows: 3, cols: 40 %>
<%= f.label :email %>
<%= f.email_field :email, size: 40 %>
<%= f.label :pay_type %>
<%= f.select :pay_type, Order::PAYMENT_TYPES, prompt: t('.pay_prompt_html') %>
<%= f.submit t('.submit') %>
<% end %>