Sha256: 2c57a7fe411cc1635193207c676b46d480c17be21c9d2890cbf0c9177afabcaf

Contents?: true

Size: 198 Bytes

Versions: 3

Compression:

Stored size: 198 Bytes

Contents

%ul.collection
  - collection.each do |item|
    - view_model = view_model_for item
    %li
      = view_model.render_as template_name
    = separator unless item == collection.entries.last
        

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
view_models-4.0.1 lib/rails/generators/view_models/templates/views/_collection.html.haml
view_models-3.0.1 lib/rails/generators/view_models/templates/views/_collection.html.haml
view_models-3.0.0 lib/rails/generators/view_models/templates/views/_collection.html.haml