Sha256: 370cb8b34fc812534b85bae882a481091d9c899f7d90346ff5f9066494ab0504
Contents?: true
Size: 578 Bytes
Versions: 12
Compression:
Stored size: 578 Bytes
Contents
-# EDIT - edit = link_to '', polymorphic_url(opts[:namespace] + [node], :action => :edit), :title => t('.edit_this'), :class => 'button edit' -# DELETE - if opts[:has_children] - delete = link_to('', url_for(opts[:namespace] + [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
12 entries across 12 versions & 2 rubygems