Sha256: cdc58a8f21e5f85adf5c5064e54e2b3182cb7c47bbd74c8e57d32951e546a916
Contents?: true
Size: 924 Bytes
Versions: 7
Compression:
Stored size: 924 Bytes
Contents
<table class="table table-striped sortable"> <thead> <tr> <th>Code</th> <th>Name</th> <% unless defined?(division) && division %> <th>Region</th> <th>Division</th> <% end %> <%= demographics_headers %> </th> </thead> <tbody> <% states.each do |state| %> <tr> <td><%= state.code %></td> <td><%= link_to state.name, state_path(state, breadcrumb_params) %></td> <% unless defined?(division) && division %> <% if state.division %> <td><%= link_to state.division.region.name, region_path(state.division.region) %></td> <td><%= link_to state.division.name, division_path(state.division) %></td> <% else %> <td>-</td> <td>-</td> <% end %> <% end %> <%= demographics_cells(state, round_area: 0) %> </tr> <% end %> </tbody> </table>
Version data entries
7 entries across 7 versions & 1 rubygems