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

 version - an object that responds to `whodunnit` and returns a String.

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