Sha256: 2fd79ddb7209a91922290bfbc437baceee51a5dac55d9f39b24ca66c5c916960

Contents?: true

Size: 292 Bytes

Versions: 15

Compression:

Stored size: 292 Bytes

Contents

<ol class="collection"><%- collection.each do |item| -%><%- view_model = view_model_for item -%><li><%- options = (template_format ? { :format => template_format } : {}) -%><%= view_model.render_as template_name, options -%></li><%= separator unless item == collection.last %><%- end -%></ol>

Version data entries

15 entries across 9 versions & 1 rubygems

Version Path
view_models-2.0.1 lib/rails2/generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-2.0.0.ruby19 lib/rails2/generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-2.0.0 lib/rails2/generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-1.5.7 spec/integration/views/view_models/collection/_list.html.erb
view_models-1.5.7 generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-1.5.6 spec/integration/views/view_models/collection/_list.html.erb
view_models-1.5.6 generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-1.5.5 spec/integration/views/view_models/collection/_list.html.erb
view_models-1.5.5 generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-1.5.4 spec/integration/views/view_models/collection/_list.html.erb
view_models-1.5.4 generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-1.5.3 spec/integration/views/view_models/collection/_list.html.erb
view_models-1.5.3 generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-1.5.2 generators/view_models/templates/views/view_models/collection/_list.html.erb
view_models-1.5.2 spec/integration/views/view_models/collection/_list.html.erb