Sha256: cf1009434523873c6e1fcda9a75b5ecc16cf4b72bd114f8a314be673e527be2a

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

/ Template for RowsController (index)
/ Requires resources model_name resource_columns

- if resources.length.positive?
  h1 = model_symbol_plural.capitalize
  /= render '/rows/list', resources: resources, columns: resource_columns
  = render '/rows/list', resources:, columns: resource_columns
- else
  h1 = t('ui.empty_list', model: model_name).html_safe

= render 'list_footer'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rows_controller-3.1.0 app/views/rows/index.slim.bak