text.ftl template edited to append button