Sha256: 14b1a030ce24ec26dcc2f535325520f63232a49620b50cafabe56242bd50a55c
Contents?: true
Size: 804 Bytes
Versions: 6
Compression:
Stored size: 804 Bytes
Contents
<div class='form-actions'> <%= f.submit '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", (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
6 entries across 6 versions & 1 rubygems