Sha256: d2c95c32e217347ddd2c914ce8ae1165cde577941ef7e05e7feac069f985438b

Contents?: true

Size: 368 Bytes

Versions: 61

Compression:

Stored size: 368 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Collection',
      icon: #{render('promethee/components/collection/icon').to_json.html_safe},
      data: {
        type: 'collection',
        attributes: {
          items_per_line: 6
        },
        children: []
      }
    })
  JAVASCRIPT
%>

<%= content_tag :div, nil, 'ng-init': init %>

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
promethee-1.6.5 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.6.4 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.6.3 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.6.2 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.6.1 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.6.0 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.5.4 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.5.3 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.5.2 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.5.0 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.29 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.28 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.27 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.26 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.25 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.24 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.23 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.22 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.21 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.4.20 app/views/promethee/components/collection/_edit.define.html.erb