18 lines
999 B
HTML
18 lines
999 B
HTML
{% extends "layouts/base.html" %}
|
|
{% block title %}{{ _('Login') }} - UdeS team manager{% endblock %}
|
|
{% block auth_content %}
|
|
<form method="POST" action="{{ url_for('auth.login') }}" class="auth-form">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
|
<div class="form-group">
|
|
<label for="username"><i class="fas fa-user"></i> {{ _('Username') }}</label>
|
|
<input type="text" id="username" name="username" placeholder="{{ _('Enter your username') }}" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password"><i class="fas fa-lock"></i> {{ _('Password') }}</label>
|
|
<input type="password" id="password" name="password" placeholder="{{ _('Enter your password') }}" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary btn-block">{{ _('Sign In') }}</button>
|
|
<p class="auth-link">{{ _("Don't have an account?") }} <a href="{{ url_for('auth.register') }}">{{ _('Register here') }}</a></p>
|
|
</form>
|
|
{% endblock %}
|