app/views/conversations/_form.html.slim
= simple_form_for @conversation, validate: true do |f|
- if @itinerary
= hidden_field_tag :itinerary_id, @itinerary.id
== render 'shared/error_messages', object: f.object
= f.simple_fields_for Message.new do |m|
= m.input :body, as: :text, input_html: { rows: 5 }, placeholder: t('.write_a_message')
= f.button :button, t('.send'), class: 'btn-primary', data: { disable_with: t('helpers.disable_with') }