Sha256: b57c6fc6ebbc4587a6d7a81c7cfc542e83d6e9bb7a9275664d777940dd775596
Contents?: true
Size: 1.59 KB
Versions: 8
Compression:
Stored size: 1.59 KB
Contents
<%= address_admin_template do %> <%= content_for :headline do %> <%= t("activerecord.attributes.magic_addresses_country.other") %> <% end %> <table class="table table-striped"> <thead> <tr> <th><%= t("helpers.label.magic_addresses_country.name") %></th> <th><%= t("activerecord.attributes.magic_addresses_address.other") %></th> <th><%= t("helpers.label.magic_addresses_country.default_name") %></th> <th><%= t("helpers.label.magic_addresses_country.dial_code") %></th> <th><%= t("helpers.label.magic_addresses_country.fsm_state") %></th> <th>Triggers</th> </tr> </thead> <tbody> <% @countries.each do |country| %> <tr> <td> <%= country_flag( country.iso_code, "small" ) %> <strong><%= country.name %></strong> </td> <td> <% if country.addresses.count > 0 %> <span class="text-success"><strong><%= country.addresses.count %></strong></span> <% else %> <span class="text-warning">-</span> <% end %> </td> <td><%= country.default_name %></td> <td><%= country.dial_code %></td> <td><%= country.fsm_state %></td> <td> <%# %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 %> </td> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems