{#- chirp-ui: Chat Input component Composer with optional attach button, character count. Usage: from "chirpui/chat_input.html" import chat_input call chat_input(action="/send", name="message", placeholder="Type a message...") end Or without footer: chat_input(action="/send", name="message", placeholder="Type a message...") -#} {% def chat_input(action="", name="message", placeholder="Type a message...", rows=2, maxlength=none, cls="") %}
{% if caller is defined %} {% end %}
{% end %}