% if (stash 'key') {

<%= current_instance %>

<% my $custom = begin %><%= include current_object.'/change_button' =%><% end %> <% my $generic = begin %><%= include 'change_button'; =%><% end %> %= $custom->() || $generic->();
% } else {

<%= ucfirst(printable(current_object)) %> : none

% }