login: use Bootstrap for inputs
This commit is contained in:
parent
916d7baec2
commit
22f5a9f9b9
|
@ -16,16 +16,14 @@ form { display: flex; flex-direction: column; gap: 0.5em; }
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form action="{{ path('app_login') }}" method="post">
|
<form action="{{ path('app_login') }}" method="post">
|
||||||
<label for="username">Email:</label>
|
<label for="username" class="form-label">Email:</label>
|
||||||
<input type="text" id="username" name="_username" value="{{ last_username }}">
|
<input type="text" id="username" name="_username" value="{{ last_username }}" class="form-control">
|
||||||
|
|
||||||
<label for="password">Password:</label>
|
<label for="password" class="form-label">Password:</label>
|
||||||
<input type="password" id="password" name="_password">
|
<input type="password" id="password" name="_password" class="form-control">
|
||||||
|
|
||||||
<input type="hidden" name="_target_path" value="/manage/podcasts">
|
<input type="hidden" name="_target_path" value="/manage/podcasts">
|
||||||
|
|
||||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
||||||
|
|
||||||
<button type="submit" class="btn btn-primary">Login</button>
|
<button type="submit" class="btn btn-primary">Login</button>
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue