Sha256: 9290da47a64e5c28c953388764ec9bfbc3446965c30bf814acc90e2117e4a091
Contents?: true
Size: 927 Bytes
Versions: 38
Compression:
Stored size: 927 Bytes
Contents
<% if button_type == :text -%> <%= link_to( button_text, :url => delete_path, :method => :delete, :html => { :class => 'muck_ajax_delete_control ajax-delete' }) %> <% else -%> <%= form_for(delete_object, :url => delete_path, :html => { :class => "ajax delete-form #{form_class}", :method => :delete } ) do |f| -%> <% if button_type == :image -%> <%= image_submit_tag '/images/icons/delete.png', :title => button_text, :width => '15', :height => '15', :alt => button_text, :class => 'muck_ajax_delete_control' %> <% else -%> <%= submit_tag button_text, :title => button_text, :class => 'muck_ajax_delete_control' %> <% end -%> <% end -%> <% end -%> <% unless defined?(@delete_waiting_text_inserted) -%> <div id="muck_ajax_delete_control_message" style="display:none;"><span class="waiting"><%= t('muck.general.deleting') %></span></div> <% @delete_waiting_text_inserted = true -%> <% end -%>
Version data entries
38 entries across 38 versions & 1 rubygems