%= address_admin_template do %> <%= content_for :headline do %> <%= t("activerecord.attributes.magic_addresses_subdistrict.other") %> <% end %>
<%= t("helpers.label.magic_addresses_subdistrict.name") %> | <%= t("activerecord.attributes.magic_addresses_address.other") %> | <%= t("activerecord.attributes.magic_addresses_district.one") %> | <%= t("activerecord.attributes.magic_addresses_city.one") %> | <%= t("helpers.label.magic_addresses_subdistrict.default_name") %> | <% if MagicAddresses.configuration.show_states %>FSM-State | <% end %> <% if MagicAddresses.configuration.show_triggers %>Triggers | <% end %>
---|---|---|---|---|---|---|
<%= scity.name %> | <%= scity.addresses.count %> | <%= scity.district.name if scity.district %> | <%= scity.city.name if scity.city %> | <%= scity.default_name %> | <% if MagicAddresses.configuration.show_states %><%= scity.fsm_state %> | <% end %> <% if MagicAddresses.configuration.show_triggers %><%# %w(activate deactivate).each do |state| %> <%# if city.machine.trigger?(state.to_sym) %> <%#= link_to state.to_s.titleize, trigger_wizard_city_path(city, state), class: "btn btn-default btn-sm" %> <%# end %> <%# end %> | <% end %>