Files
enlight-lms/lms/lms/widgets/HelloWorld.html
Francisco Roldan 0609174a14 fix: translations
2022-05-26 09:43:11 -03:00

15 lines
274 B
HTML

{#
Widget to demonostrate how to write a widget.
A wiget is a reusable template, that can be used in
other templates.
To this widget can be called as:
{{ widgets.HelloWorld(name="World") }}
#}
<div class="hello">
{{ _("Hello"), <em>{{ name }}</em>!
</div>