Sha256: 0821bc311fdd05875c6ce08e19f3dbabf40aeb6a75fedd913f29a256528ac578

Contents?: true

Size: 388 Bytes

Versions: 4

Compression:

Stored size: 388 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
promethee-1.6.10 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.6.8 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.6.7 app/views/promethee/components/collection/_edit.define.html.erb
promethee-1.6.6 app/views/promethee/components/collection/_edit.define.html.erb