diff --git a/doorlockd-new/templates/index.html b/doorlockd-new/templates/index.html index 5b5a805..28d3bf5 100644 --- a/doorlockd-new/templates/index.html +++ b/doorlockd-new/templates/index.html @@ -40,16 +40,16 @@
{{ render_field(authentication_form.username) }} {{ render_field(authentication_form.password) }} - {{ render_field(authentication_form.open) }} - {{ render_field(authentication_form.close) }} - {{ authentication_form.csrf_token }} + {{ render_field(authentication_form.open) }} + {{ render_field(authentication_form.close) }} + {{ authentication_form.csrf_token }}
- {% if response %} -
-

{{ response.to_html() }}

- {% endif %} -
- Die Kitchen ist: {{ state_text }} - {{ state_img }} + {% if response %} +
+

{{ response.to_html() }}

+ {% endif %} +
+ Die Kitchen ist: {{ state_text }} + {{ state_img }}