% endblock %}

{% block scripts %}
<script>
    const nameInput = document.getElementById('author_name');
    const contentInput = document.getElementById('content');
    const previewSection = document.getElementById('previewSection');
    const previewName = document.getElementById('previewName');
    const previewMessage = document.getElementById('previewMessage');
    const fileInput = document.getElementById('photo');
    const selectedFile = document.getElementById('selectedFile');
    const fileName 