<div class="col-md-8">
  <%= form_for document do |f| %>
  <%= render partial: "shared/form_errors", locals: { object: document } %>

  <%= f.text_field :title %>
  <%= f.text_area :summary, class: 'short-textarea' %>
  <%= f.text_area :body %>

  <div class="preview_button"></div>
  <div class="preview_container" style="display: none;"></div>

  <%= render partial: "specialist_documents/minor_major_update_fields", locals: { f: f, document: document } %>

  <div class="actions">
    <button name="save" class="btn btn-success">Save as draft</button>
  </div>
  <% end %>
</div>

<%= render partial: "specialist_documents/attachments_form", locals: { document: document } %>

<%= render partial: "specialist_documents/js_preview", locals: { document: document, form_namespace: "esi_fund" } %>

Add form for ESI funds
Add form for ESI funds
