Sha256: 026e61eac8e2c98efcd93c0515f450fc55b59d1d493f896f28063aee66552e02

Contents?: true

Size: 575 Bytes

Versions: 5

Compression:

Stored size: 575 Bytes

Contents

- if editable?(document)
  .menu{:data =>{:for => "document_#{document.id}"}}
    %ul.actions
      %li
        = link_to t(:edit_document), droom.edit_document_url(document), :class => 'edit', :data => {:action => "popup", :replaced => "#document_#{document.id}", :affected => ".minimonth"}
      %li
        = link_to t(:delete_document), droom.document_url(document), :method => 'delete', :class => 'delete', :data => {:action => "remove", :removed => "#document_#{document.id}", :affected => ".minimonth", :confirm => t(:confirm_delete_document, :name => document.name)}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
droom-0.5.3 app/views/droom/documents/_action_menu.html.haml
droom-0.4.3 app/views/droom/documents/_action_menu.html.haml
droom-0.4.2 app/views/droom/documents/_action_menu.html.haml
droom-0.4.1 app/views/droom/documents/_action_menu.html.haml
droom-0.2.1 app/views/droom/documents/_action_menu.html.haml