Sha256: c3d6b655eafb42846525fc8c1b407c52daceb63266bf1e763ff8cad5a4f39956
Contents?: true
Size: 553 Bytes
Versions: 16
Compression:
Stored size: 553 Bytes
Contents
<% if button_type == :text -%> <%= link_to_remote( button_text, :url => delete_path, :method => :delete) %> <% else -%> <% remote_form_for(delete_object, :url => delete_path, :html => { :class => "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 } %> <% else -%> <%= submit_tag button_text, { :title => button_text } %> <% end -%> <% end -%> <% end -%>
Version data entries
16 entries across 16 versions & 2 rubygems