Sha256: c6f1a292ef4fbb7b97e03b90030fcc9f078aceb913cb004c284d736691160075
Contents?: true
Size: 605 Bytes
Versions: 4
Compression:
Stored size: 605 Bytes
Contents
<%= form_for([@country, @city, @street]) do |f| %> <% if @street.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@street.errors.count, "error") %> prohibited this street from being saved:</h2> <ul> <% @street.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :name %><br /> <%= f.text_field :name %> </div> <div class="field"> <%= f.label :city %><br /> <%= @city.name %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems