/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_basic.html" %} {% block example %}
Examples
{{ basic.flip('flip1', 'bath_light_switch') }}
{{ basic.flip('flip1', 'bath_light_switch') }}
With other on/off-text
{{ basic.flip('flip2', 'bath_light_switch', '1', '0') }}
{{ basic.flip('flip2', 'bath_light_switch', '1', '0') }} Some text beside the flip
{% endblock %}