Sha256: 567b4680aa70897c1d3d60e3f1eb358d88b3a4ba98219bd0a776fef38b146ff5
Contents?: true
Size: 761 Bytes
Versions: 8
Compression:
Stored size: 761 Bytes
Contents
<table class="index"> <thead> <tr> <th><%= t("name") %></th> <th><%= t("abbreviation") %></th> <th></th> </tr> </thead> <tbody> <% @states.each do |state| %> <tr> <td><%=state.name %></td> <td><%=state.abbr %></td> <td class="actions"> <%=link_to_with_icon 'edit', t("edit"), edit_admin_country_state_url(@country, state) %> <%=link_to_with_icon 'delete', t("delete"), object_url(state), :method => :delete %> </td> </tr> <% end %> <% if @states.empty? %> <tr><td colspan="3"><%= t(:none) %></td></tr> <% end %> </tbody> </table> <p> <%= button_link_to t("new_state"), new_admin_country_state_url(@country), :icon => 'add' %> </p>
Version data entries
8 entries across 8 versions & 1 rubygems