Use the |
operator:
textarea(class="form-control",name="details")
if restaurant.details
| #{restaurant.details}
From the docs
The simplest way of adding plain text to templates is to prefix the line with a | character (pronounced "pipe").