/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_basic.html" %} {% block example %}
Example
{{ basic.txt('text1', 'bath_light_switch', 'Text for the on-state', 'It is off now') }}
Use the switch to change the state: {{ basic.switch('switch1', 'bath_light_switch') }}
{{ basic.text('text1', 'bath_light_switch', 'Text for the on-state', 'It is off now') }}
{% endblock %}