Первый коммит: загрузка проекта SecretText
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Ваш секрет</h5>
|
||||
<form method="POST" action="{{ url_for('create_secret') }}">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
||||
<div class="mb-3">
|
||||
<textarea class="form-control" id="secret" name="secret" rows="6"
|
||||
placeholder="" required></textarea>
|
||||
<div class="form-text text-secondary">Максимум {{ config.MAX_SECRET_LENGTH }} символов. Автоудаление
|
||||
через 24 часа или после просмотра.
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-secondary w-100">Создать ссылку</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user