Sha256: 584a9a21379fbddd1543d82a5a2cd7ebe2dec44b0b6c3dac7b0dab5f22f97410

Contents?: true

Size: 137 Bytes

Versions: 3

Compression:

Stored size: 137 Bytes

Contents

table.collection
  - collection.each do |item|
    tr
      - view_model = view_model_for item
      = view_model.render_as template_name

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
view_models-4.0.1 lib/rails/generators/view_models/templates/views/_table.html.slim
view_models-3.0.1 lib/rails/generators/view_models/templates/views/_table.html.slim
view_models-3.0.0 lib/rails/generators/view_models/templates/views/_table.html.slim