Sha256: a7843cf30ff8ebcce1ab22c403db99788c56f1627d9b718a98b2a54ce345e63e

Contents?: true

Size: 531 Bytes

Versions: 3

Compression:

Stored size: 531 Bytes

Contents

<!-- replace 'p[data-erb-id*="city"]' -->
<p class="field" id=<%="#{address_id}city" %>>
  <%= form.label :city, Spree.t(:city) %><span class="required">*</span><br />
  <%= form.collection_select(
              :city_id, address.state ? address.state.cities : [],
              :id, :name,
              {:include_blank => false},
              {:class => 'form-control required'}
      ) %>

  <% unless address.state %>
    <script>
      $(function() {
          Spree.updateCity('b');
      });
    </script>
  <% end %>
</p>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_br_common-1.1.3 app/overrides/spree/address/_form/replace_city_input_text_by_select.html.erb.deface
solidus_br_common-1.1.2 app/overrides/spree/address/_form/replace_city_input_text_by_select.html.erb.deface
solidus_br_common-1.1.1 app/overrides/spree/address/_form/replace_city_input_text_by_select.html.erb.deface