Sha256: 4bf20f0972061efdb8964aef1da81b2b1f0bc0b28045e6e95adb4c0f9df81096

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

<h2>Simple Form</h2>

<%= 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>

  <div class="form-actions">
    <%= f.button :submit %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
autocomplete_zipcode-0.1.2 example/app/views/addresses/_form.html.erb