Sha256: 0a974d77f318c141e76079cfe1195e2639bf6ea2f9079264ef056dce8a2b3bbe

Contents?: true

Size: 797 Bytes

Versions: 3

Compression:

Stored size: 797 Bytes

Contents

<li>
  <%= t("name") %>: 
  <%= text_field_with_auto_complete :zone, 
                                    :member_name,
                                    {:size => 35,
                                     :onkeypress => "return event.which == Event.KEY_RETURN ? false : true",
                                     :autocomplete => "off",
                                     :name => "member_names[]",
                                     :value => "#{value if local_assigns.has_key? :value}"
                                    },
                                    {:url => formatted_states_path(:js),
                                     :method => :get,
                                     :with => "Object.toQueryString({q: element.value})" 
                                    } %>
</li>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-0.6.0 app/views/admin/zones/_state.html.erb
spree-0.7.0 app/views/admin/zones/_state.html.erb
spree-0.7.1 app/views/admin/zones/_state.html.erb