Sha256: 2c251922a30f8e9c3e3c2b44d517eb8e73c9f104af2e00a3be0dd8929077a1a7

Contents?: true

Size: 402 Bytes

Versions: 30

Compression:

Stored size: 402 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Aside',
      icon: #{render('promethee/components/aside/icon').to_json.html_safe},
      data: {
        type: 'aside',
        attributes: {
          visible_content: '<p>Edit me</p>',
          collapsed_content: ''
        },
        children: []
      }
    })
  JAVASCRIPT
%>

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

Version data entries

30 entries across 30 versions & 1 rubygems

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