Sha256: 7dbf0523cc71b5f38baced7b8f6d3e01095e3cf2a460f1300f180ca23558b4a3

Contents?: true

Size: 701 Bytes

Versions: 4

Compression:

Stored size: 701 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{:type=>"text", :value=>item.url,:name=>"url",:class=>"url-input",:"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

4 entries across 4 versions & 1 rubygems

Version Path
lolita-menu-0.0.11 app/views/components/lolita/menu_items/_row.html.haml
lolita-menu-0.0.10 app/views/components/lolita/menu_items/_row.html.haml
lolita-menu-0.0.9 app/views/components/lolita/menu_items/_row.html.haml
lolita-menu-0.0.8 app/views/components/lolita/menu_items/_row.html.haml