Files
Web-NibblePoker/website/renderers/file_input.py
Herwin Bozet b2064cbbaf Nearly finished the Excel Password Remover revamp, Only the download is missing
Update commons.yml, excel-password-remover.yml, and 14 more files...
2025-03-01 18:27:13 +01:00

15 lines
491 B
Python

from flask import render_template
def render_file_input(input_id: str, multiple: bool, accept: str = None,
upload_button: bool = False, clear_button: bool = False, user_lang: str = "") -> str:
return render_template(
"elements/file-input.jinja",
file_input_id=input_id,
file_multiple=multiple,
file_accept=accept,
file_upload_button=upload_button,
file_clear_button=clear_button,
user_lang=user_lang,
)