login: use Bootstrap for inputs

This commit is contained in:
dece 2024-02-25 22:51:40 +01:00
parent 916d7baec2
commit 22f5a9f9b9

View file

@ -16,16 +16,14 @@ form { display: flex; flex-direction: column; gap: 0.5em; }
{% endif %}
<form action="{{ path('app_login') }}" method="post">
<label for="username">Email:</label>
<input type="text" id="username" name="_username" value="{{ last_username }}">
<label for="username" class="form-label">Email:</label>
<input type="text" id="username" name="_username" value="{{ last_username }}" class="form-control">
<label for="password">Password:</label>
<input type="password" id="password" name="_password">
<label for="password" class="form-label">Password:</label>
<input type="password" id="password" name="_password" class="form-control">
<input type="hidden" name="_target_path" value="/manage/podcasts">
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
<button type="submit" class="btn btn-primary">Login</button>
</form>
{% endblock %}