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

<%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:

<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :last_name %>
<%= f.text_field :last_name %>
<%= f.label :height %>
<%= f.select :height, height_collection %>
<%= f.label :address %>
<%= f.text_field :address %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.label :zip %>
<%= f.text_field :zip %>
<%= f.label :country %>
<%= f.select :country, COUNTRIES_HASH.map {|c| v0 = c[0] c[0] = c[1] c[1] = v0 c } %>
<%= f.submit %>
<% end %>