Sha256: 09b892ebd82a3837b21712e5466bd1a2eda71acf4579e45733da3c936f456139

Contents?: true

Size: 1023 Bytes

Versions: 6

Compression:

Stored size: 1023 Bytes

Contents

%li{:id=>"item-#{item.id}"}
  %div{:class=>"menu-tree-content"}
    %span
      %input{:type=>"text",:value=>item.name,:name=>"name",:"data-id"=>item.id,:"data-url"=>menu_item_path(item.id)}
    %span
      %input{:"data-autocomplete" => autocomplete_menu_item_url_menu_items_path, :"data-delimiter" => " ",
             :id => "menu_item_#{item.id}_url", :name => "url",
             :class=>"url-input ui-autocomplete-input", :autocomplete=>"off", :role=>"textbox", :"aria-autocomplete"=>"list",
             :"aria-haspopup"=>"true", :type => "text", :value => item.url,
             :"data-id"=>item.id,:"data-url"=>menu_item_path(item.id),
            }
    %span
      = image_tag("lolita-menu/move.png",:style=>"cursor:move;")
    %span
      = image_tag("lolita-menu/delete.png", :"data-url" => menu_item_path(item.id), :class => "delete-menu-item", :"data-row" => "#item-#{item.id}", :"data-menu" => "#menu_tree_#{menu.id}")
  %ol
    = render_component "lolita/menu_items", "subtree", :item => item, :menu => menu

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lolita-menu-0.1.1 app/views/components/lolita/menu_items/_row.html.haml
lolita-menu-0.1.0 app/views/components/lolita/menu_items/_row.html.haml
lolita-menu-0.0.15 app/views/components/lolita/menu_items/_row.html.haml
lolita-menu-0.0.14 app/views/components/lolita/menu_items/_row.html.haml
lolita-menu-0.0.13 app/views/components/lolita/menu_items/_row.html.haml
lolita-menu-0.0.12 app/views/components/lolita/menu_items/_row.html.haml