Sha256: b83a84b8be4a23371017187f8f731daa0a4e4ed8c04c2f6f5cb53c7c29afb61f

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

li
  div class="bootstrap-wysihtml5-insert-link-modal modal hide fade"
    .modal-header
      a class='close' data-dismiss='modal' ×
      h3 Insert link

    .modal-body
      ul class="nav nav-pills"
        li
          a href="#link_pane_1" data-toggle="pill" Pages
        li
          a href="#link_pane_2" data-toggle="pill" URL
        li
          a href="#link_pane_3" data-toggle="pill" Email

      div class="tab-content"    
        div.tab-pane class="link_pages" id="link_pane_1" 
          ul
            = nested_pages do |page, subpages|
              li
                = link_to page.title, "#", "data-url" => page.url
                = content_tag(:ul, subpages) if subpages

        div.tab-pane id="link_pane_2" 
          input placeholder='http://website.com' class='input-xlarge' value='http://'
        
        div.tab-pane id="link_pane_3" 
          input placeholder='mailto:email@example.com' class='input-xlarge'

      input class='bootstrap-wysihtml5-insert-link-url' type="hidden"  

    .modal-footer
      
      a id='insert_link' href='#' class='btn btn-primary' data-dismiss='modal' Insert Link
      a href='#' class='btn' data-dismiss='modal' Cancel
      


  / Editor button
  a.btn data-wysihtml5-command='createLink' title='Link' tabindex='-1'
    i class='icon-share'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cardboard_cms-0.2.1 app/views/cardboard/rich_editor/_links_modal.html.slim
cardboard_cms-0.1.8 app/views/cardboard/rich_editor/_links_modal.html.slim
cardboard_cms-0.1.6 app/views/cardboard/rich_editor/_links_modal.html.slim