/**
* -----------------------------------------------------------------------------
* @package smartVISU
* @author Martin Gleiß
* @copyright 2012 - 2015
* @license GPL [http://www.gnu.de]
* -----------------------------------------------------------------------------
*/
{% extends "widget_device.html" %}
{% block example %}
To bind some widgets to the codepad use a div to group them. Than use the "data-bind" attribute in the div-tag.
Important: The Codepad has to be placed after the widgets.
{% filter trim|escape|nl2br %}{% verbatim %}
...
{{ basic.stateswitch('', 'bath.light.switch') }}
...
{{ device.codepad('codepad1') }}
{% endverbatim %}{% endfilter %}