Sha256: c76c62cf4a719f53604d22618cdc673db6ebd064dabdd561eb791bb0a49978b5

Contents?: true

Size: 699 Bytes

Versions: 3

Compression:

Stored size: 699 Bytes

Contents

#embedDialog.modal
  .modal-header

    %a.close.cancel.button
      ×
    %h3
      Embed

  .modal-body
    %table{:class => "table table-bordered"}
      %thead
        %tr
          %th Name
          %th Shortcode
          %th.controls Controls
      %tbody
        - @embeds.each do |embed|
          %tr{:class => "#{cycle("even", "odd")}"}
            %td
              = embed.title
            %td
              = embed.shortcode
            %td.controls
              - if can? :manage , Gluttonberg::Embed
                = link_to "Insert", "Javascript:;", :class => "btn embed-btn", "data-shortcode" => "[#{embed.shortcode}]"

  .modal-footer
    %a.cancel.btn.btn-danger
      Close

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/settings/embeds/list_for_redactor.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/settings/embeds/list_for_redactor.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/settings/embeds/list_for_redactor.html.haml