app/views/manage/messages/_form.html.haml in hackathon_manager-0.10.1 vs app/views/manage/messages/_form.html.haml in hackathon_manager-0.10.2

- old
+ new

@@ -12,15 +12,10 @@ = f.input :recipients, as: :select, collection: @message.possible_recipients, input_html: { class: "selectize", multiple: true, }, placeholder: "Type to search by school or type..." - else = f.input :recipients, as: :select, collection: @message.possible_recipients, input_html: { class: "selectize", multiple: true }, hint: "Cannot be edited once a message has been delivered", disabled: true %br - .row - .col-lg-6.mb-3 - %h5.mb-3 Body - = f.input :body, input_html: { rows: 36, 'data-message-live-preview' => 'textarea', class: 'text-monospace', style: 'font-size: 14px' }, hint: "Supports markdown and HTML", label: false, wrapper: :bootstrap_inline_form - .col-lg-6.mb-3 - %h5.mb-3 Preview - %iframe.email-preview{src: live_preview_manage_messages_path(body: @message.body), 'data-message-live-preview' => 'iframe', 'data-message-live-preview-base-src' => live_preview_manage_messages_path} + %h5.mb-3 Body + = f.input :body, input_html: { rows: 36, 'data-message-live-preview-base-src' => live_preview_manage_messages_path, style: 'font-size: 14px', 'data-simple-mde' => '1' }, hint: "Supports markdown and HTML", label: false, wrapper: :bootstrap_inline_form .form-actions.mb-3 = f.button :submit, class: 'btn-primary'