<%= image_tag "messages-outlined.svg", size: 22, aria: { hidden: "true" }, class: "composer__input-hint colorize--black", style: "view-transition-name: input-btn;" %>
<%= form.rich_text_area :body,
rows: 1,
class: "input",
style: "order: -1",
aria: { multiline: "true", label: "Write a message" },
data: {
controller: "rich-autocomplete",
action: rich_text_data_actions,
rich_autocomplete_url_value: autocompletable_users_path(room_id: room.id),
permitted_attachment_types: "application/vnd.actiontext.opengraph-embed",
composer_target: "text" } %>
<%= form.button name: "send", type: "submit", data: { action: "composer#submit" },
class: "btn btn--reversed flex-item-no-shrink txt-small" do %>
<%= image_tag "arrow-up.svg", size: 20, aria: { hidden: "true" } %>
Send Message
<% end %>