<%= form_for([@country, @city, @street]) do |f| %> <% if @street.errors.any? %>

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

<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :city %>
<%= @city.name %>
<%= f.submit %>
<% end %>