Sha256: 39ddbb0d5c23ce044ebf887f3fb86fbf7801b89357d0ade2b849eb0657f21a3f
Contents?: true
Size: 860 Bytes
Versions: 13
Compression:
Stored size: 860 Bytes
Contents
<div class='form-actions'> <%= f.submit "#{submit_button_text ||= 'Save'}", :id => "#{submit_button_id ||= "submit_button"}", :class => "wymupdate" -%> <% if (continue_editing ||= false and !f.object.new_record?) -%> or <%= render :partial => "/shared/admin/continue_editing", :locals => {:f => f} -%> <% end -%> <% unless (hide_cancel ||= from_dialog?) -%> or <%= link_to "#{cancel_button_text ||= 'Cancel'}", (cancel_url ||= ((back=url_for(:back)).include?('javascript') ? send("admin_#{f.object.class.name.pluralize.underscore}_url") : back)), :title => (title ||= "Cancelling will lose all changes you've made to this #{f.object.class.name.underscore.gsub("_", " ")}"), :id => "#{cancel_button_id ||= "cancel_button"}", :class => "close_dialog" %> <% end -%> </div>
Version data entries
13 entries across 13 versions & 1 rubygems