app/views/pulitzer/partials/_show.html.erb in pulitzer-0.15.14 vs app/views/pulitzer/partials/_show.html.erb in pulitzer-0.15.15

- old
+ new

@@ -13,10 +13,10 @@ <%= render partial: '/pulitzer/shared/drag_handle' %> </div> </div> <div class="pulitzer-row margin-bottom"> <% if partial.upgradable? %> - <%= ajax_link "Upgrade #{partial.label} to the last partial version", upgrade_partial_path(partial), {class: 'button'}, dom_target(partial), http_method: 'PATCH' %> + <%= ajax_link "Upgrade #{partial.label} to the latest #{partial.name} version #{partial.most_recent_version_number}", upgrade_partial_path(partial), {class: 'button'}, dom_target(partial), insert_method: 'after', remove_on_success: dom_target(partial), http_method: 'PATCH' %> <% end %> </div> <div <%= collapsed(dom_id(partial)) %>> <%= render partial: '/pulitzer/content_elements/partial_index', locals: {partial: partial} %> </div>