<%= form_with(model:[@single_room, @message] , remote: true, class: "d-flex" ) do |f| %> <%= f.text_field :body, id: 'chat-text', class: "form-control ", autocomplete: 'off' %> <%= f.submit data: { disable_with: false }, class: "btn btn-primary" %> <% end %>
why it is coming like this
Aucun commentaire:
Enregistrer un commentaire