Sha256: 0e605c3afcf3b5c73fa8dfdb6ce3b894484b17d722096bec712325edf2c9f962

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

<td><%= t("State") %></td>
<td>
	<% if @states.length == 0 %>
			<%= text_field(:address, :state_name) %>
	<% else %>
		<%= collection_select(:address, :state_id, @states, :id, :name, { :include_blank => true}, {:style=> 'width:150px;'}) %>
	<% end %>
</td>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree-0.4.0 app/views/addresses/_states.html.erb
spree-0.4.1 app/views/addresses/_states.html.erb
spree-0.5.0 app/views/addresses/_states.html.erb
spree-0.5.1 app/views/addresses/_states.html.erb