def render_resource_last_editor(resource)
      render partial: "decidim/shared/version_author",
             locals: {
               author: Decidim.traceability.last_editor(resource)
             }
    end
def render_resource_last_editor(resource)
      render partial: "decidim/shared/version_author",
             locals: {
               author: Decidim.traceability.last_editor(resource)
             }
    end
Renders the avatar and author name of the author of the last version of the given
 resource.

 resource - an object implementing `Decidim::Traceable`

 Returns an HTML-safe String representing the HTML to render the author.