example/app/views/addresses/_form.html.erb in autocomplete_zipcode-0.1.1 vs example/app/views/addresses/_form.html.erb in autocomplete_zipcode-0.1.2
- old
+ new
@@ -3,9 +3,10 @@
<%= simple_form_for(@address) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :zipcode, as: :zipcode %>
+ <small style="display: none;" id="error">Error - Invalid zipcode</small>
<%= f.input :street, as: :street %>
<%= f.input :neighborhood, as: :neighborhood %>
<%= f.input :city, as: :city %>
<%= f.input :state, as: :state %>
</div>