<% content_for :footer do %>
<%= link_to searches_path, class: "btn flex-item-no-shrink margin-block-end composer__context-btn", style: "view-transition-name: input-switcher" do %> <%= image_tag "search.svg", size: 20, aria: { hidden: "true" } %> Search <% end %> <%= composer_form_tag(room) do |form| %>
<%= 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 lexxy-content", style: "order: -1", aria: { multiline: "true", label: "Write a message" }, "permitted-attachment-types": "application/vnd.campfire.mention application/vnd.actiontext.opengraph-embed", data: { controller: "unfurl", action: "#{rich_text_data_actions} lexxy:change->composer#saveDraft lexxy:insert-link->unfurl#unfurl", composer_target: "text" } do %> <%= mention_prompt_tag room %> <% end %>
<%= 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 %>
<%= form.hidden_field :client_message_id, data: { composer_target: "clientid" } %> <% end %>
<% end %>