Sha256: 3bacfd62bd16191bf25a66ea3f8b7dbf211286c8baa37c1c71ea4b7322b18bd2

Contents?: true

Size: 484 Bytes

Versions: 4

Compression:

Stored size: 484 Bytes

Contents

= search_form_for resources_search do |f|
  = f.label :name_cont
  = f.search_field :name_cont
  = f.submit
%p
  = link_to "New", new_country_path
%table
  %tbody
    - resources.each do |resource|
      %tr
        %td
          = resource.code
        %td
          = resource.name
        %td
          = resource.active
        %td
          = link_to "edit", edit_country_path(resource)
          = link_to "delete", country_path(resource), method: :delete

= paginate resources

Version data entries

4 entries across 4 versions & 1 rubygems

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