Sha256: 1294a7af089cf378418742457ba05d701acfd3fedff2b2ad3c8ed4443131d460

Contents?: true

Size: 410 Bytes

Versions: 10

Compression:

Stored size: 410 Bytes

Contents

h1 Listing cities
= authz_link_to 'Create New City', new_city_path, {class: 'button'}, skip_scoping: true
table
  thead
    tr
      th Name
      th
      th

  tbody
    - @cities.each do |city|
      tr
        td = city.name
        td = authz_link_to 'Edit', edit_city_path(city), using: city
        td = authz_link_to 'Destroy', city, {data: { confirm: 'Are you sure?' }, method: :delete}, using: city

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
authz-0.0.5 spec/dummy/app/views/cities/index.html.slim
authz-0.0.4 spec/dummy/app/views/cities/index.html.slim
authz-0.0.3 spec/dummy/app/views/cities/index.html.slim
authz-0.0.2 spec/dummy/app/views/cities/index.html.slim
authz-0.0.1 spec/dummy/app/views/cities/index.html.slim
authz-0.0.1.alpha5 spec/dummy/app/views/cities/index.html.slim
authz-0.0.1.alpha4 spec/dummy/app/views/cities/index.html.slim
authz-0.0.1.alpha3 spec/dummy/app/views/cities/index.html.slim
authz-0.0.1.alpha2 spec/dummy/app/views/cities/index.html.slim
authz-0.0.1.alpha spec/dummy/app/views/cities/index.html.slim