<% content_for :title, "Editing '#{@question.title.truncate(50)}'" %>

<h3>Edit Question</h3>
<%= render 'form', is_edit: true %>

<% if SiteSetting['AskingGuidance'] %>
  <% content_for :sidebar do %>
    <div class="module">
      <h4 class="module__title">Hints and Tips</h4>
      <div class="module__content">
        <%= raw(sanitize(QuestionsController.renderer.render(SiteSetting['AnsweringGuidance']), scrubber: scrubber)) %>
      </div>
    </div>
  <% end %>
<% end %>

<% content_for :title, "Editing '#{@question.title.truncate(50)}'" %>

<h3>Edit Question</h3>
<%= render 'posts/image_upload' %>

<%= render 'form', is_edit: true %>

<% if SiteSetting['AskingGuidance'] %>
  <% content_for :sidebar do %>
    <div class="module">
      <h4 class="module__title">Hints and Tips</h4>
      <div class="module__content">
        <%= raw(sanitize(QuestionsController.renderer.render(SiteSetting['AnsweringGuidance']), scrubber: scrubber)) %>
      </div>
    </div>
  <% end %>
<% end %>

Add image upload to question edit
Add image upload to question edit
