app/views/magic_addresses/subdistricts/index.html.erb in magic_addresses-0.0.34 vs app/views/magic_addresses/subdistricts/index.html.erb in magic_addresses-0.0.35
- old
+ new
@@ -23,10 +23,10 @@
<% end %>
</tr>
</thead>
<tbody class="wizard_table_body">
<% @subdistricts.each do |scity| %>
- <tr data-id="<%= subdistrict.id %>" data-name="<%= subdistrict.name %>" data-default-name="<%= subdistrict.default_name %>" data-short-name="<%= subdistrict.short_name %>" data-state="<%= subdistrict.fsm_state %>">
+ <tr data-id="<%= scity.id %>" data-name="<%= scity.name %>" data-default-name="<%= scity.default_name %>" data-short-name="<%= scity.short_name %>" data-state="<%= scity.fsm_state %>">
<td><strong><%= scity.name %></strong></td>
<td><%= scity.addresses.count %></td>
<td><%= scity.district.name if scity.district %></td>