Sha256: 680170ca364523e4f1f0d05787762ab41a090c31b31544f213f5aacf63bdc1bc

Contents?: true

Size: 898 Bytes

Versions: 22

Compression:

Stored size: 898 Bytes

Contents

h1 Listing Employees
table.with-selection
  thead
    tr
      th Name
      th Section
      th Admin?
      th Vegan?
      th colspan=3
  tbody
    - @employees.each do |employee|
      tr data-record=employee.attributes.to_json
        td= employee.name
        td= employee.section
        td.admin= employee.admin ? 'yes' : 'no'
        td.vegan= employee.vegan ? 'yes' : 'no'
        td= link_to 'Show', employee
        td= link_to 'Edit', edit_employee_path(employee)
        td= link_to 'Destroy', employee, method: :delete, data: {confirm: 'Are you sure?' }
  tfoot
    tr
      td colspan=8
        button#selected-records-action Actions
br
.page-actions
  button.actions-button.button.warning onclick="window.location = Routes.collection_edit_employees_path({ids: MultiSelect.selected_ids()})" Actions
  span.devider
  = link_to 'New Employee', new_employee_path, class: 'info button'

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
record_collection-0.10.4 spec/dummy/app/views/employees/index.html.slim
record_collection-0.10.3 spec/dummy/app/views/employees/index.html.slim
record_collection-0.10.2 spec/dummy/app/views/employees/index.html.slim
record_collection-0.10.1 spec/dummy/app/views/employees/index.html.slim
record_collection-0.10.0 spec/dummy/app/views/employees/index.html.slim
record_collection-0.9.2 spec/dummy/app/views/employees/index.html.slim
record_collection-0.9.1 spec/dummy/app/views/employees/index.html.slim
record_collection-0.9.0 spec/dummy/app/views/employees/index.html.slim
record_collection-0.8.3 spec/dummy/app/views/employees/index.html.slim
record_collection-0.8.2 spec/dummy/app/views/employees/index.html.slim
record_collection-0.8.1 spec/dummy/app/views/employees/index.html.slim
record_collection-0.7.5 spec/dummy/app/views/employees/index.html.slim
record_collection-0.7.4 spec/dummy/app/views/employees/index.html.slim
record_collection-0.7.3 spec/dummy/app/views/employees/index.html.slim
record_collection-0.7.2 spec/dummy/app/views/employees/index.html.slim
record_collection-0.7.1 spec/dummy/app/views/employees/index.html.slim
record_collection-0.7.0 spec/dummy/app/views/employees/index.html.slim
record_collection-0.6.1 spec/dummy/app/views/employees/index.html.slim
record_collection-0.6.0 spec/dummy/app/views/employees/index.html.slim
record_collection-0.5.3 spec/dummy/app/views/employees/index.html.slim