# Showing simple text with decorateWidget

**URL:** <https://meta.discourse.org/t/showing-simple-text-with-decoratewidget/62521>\
**Category:** Development\
**Created:** [11 Maggio 2017, 2:59pm UTC](https://meta.discourse.org/t/showing-simple-text-with-decoratewidget/62521 "2017-05-11T14:59:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [11 Maggio 2017, 5:26pm UTC](https://meta.discourse.org/t/showing-simple-text-with-decoratewidget/62521/3 "2017-05-11T17:26:28Z")

</div>

You should be able to just return the string. `h` is a html helper.

```plaintext
  api.decorateWidget('poster-name:after', function(helper) {
    return 'a string';
  });

```

---

_[View the full topic](https://meta.discourse.org/t/showing-simple-text-with-decoratewidget/62521)._
