Sha256: b9d9cb79f1c7fcca30ead7a51ae52a4a2e0b67ffe2404398424ed1d98d94403a
Contents?: true
Size: 536 Bytes
Versions: 4
Compression:
Stored size: 536 Bytes
Contents
-# EDIT - edit = link_to '', polymorphic_url(node, :action => :edit), :title => t('.edit_this'), :class => 'button edit' -# DELETE - if opts[:has_children] - delete = link_to('', url_for(node), :title => t('.delete'), :method => :delete, :confirm => t('.delete_confirm'), :class => 'button delete') - else - delete = link_to('', '#', :title => t('.cant_be_deleted'), :onclick => "alert('#{t('.delete_nested_elements')}')", :class => 'button undeleted') -# OUTPUT = edit + delete
Version data entries
4 entries across 4 versions & 1 rubygems