{% if current_user.is_authenticated %}

{{_("You're logged in already!")}}

{% else %}
{% include 'flash_messages.html' %}

{{host}}

{{ form.hidden_tag() }} {{ form.username.label(class_='sr-only') }} {{ form.username(class_='form-control') }} {{ form.password.label(class_='sr-only') }} {{ form.password(class_='form-control') }}
{{ form.remember() }} {{_('Remember me (90 days)')}}
{% if not dismiss_notification %}
NO WARRANTY NOTICE
Mycodo is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Mycodo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Mycodo. If not, see <http://www.gnu.org/licenses/>.
 
Mycodo also collects anonymous usage statistics to aid with development of new features. These are used to determine what features are used most often, when systems run poorly, and other aspects that should help improve reliability, performance, and expand the featureset in a direction that the majority of users use the software for. You can opt-out at any time from the Admin panel.
{{ formNotice.csrf_token }} {{ formNotice.acknowledge(class_='form-control btn btn-default') }}
{% endif %}
{% endif %}