Sha256: 45df311f8da72eb8852441d3fc8e2baa4def02be5d960bfe8f0c25b9628bb180

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

Stored size: 440 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Page',
      icon: #{ promethee_component_render_icon 'page' },
      position: 0,
      library: false,
      data: {
        type: 'page',
        attributes: {
          title: 'New page',
          description: '',
          stylesheets: '',
          javascripts: ''
        },
        children: []
      }
    })
  JAVASCRIPT
%>
<div ng-init="<%= init %>"></div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
promethee-1.6.14 app/views/promethee/components/page/_edit.define.html.erb
promethee-1.6.13 app/views/promethee/components/page/_edit.define.html.erb
promethee-1.6.12 app/views/promethee/components/page/_edit.define.html.erb
promethee-1.6.11 app/views/promethee/components/page/_edit.define.html.erb