Sha256: 26e4814ea22f3b18221600a76a578117eb8b4055be4937d6c77423987ec7118c

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 Bytes

Contents

%p= flash[:notice]
= search_form_for [:admin, countries_search] do |f|
  = f.label :name_cont
  = f.search_field :name_cont
  = f.submit
%p
  = link_to "New", new_admin_country_path
%table
  %tbody
    - countries.each do |resource|
      %tr
        %td
          = resource.code
        %td
          = resource.name
        %td
          = link_to "edit", edit_admin_country_path(resource)
          = link_to "delete", admin_country_path(resource), method: :delete

= paginate resources

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
resources-1.1.1 test/dummy/app/views/admin/countries/index.html.haml
resources-1.1.0 test/dummy/app/views/admin/countries/index.html.haml