function makeEditSections(collectionName, response) {
  if (response.type === 'bulletin') {
    bulletinEditor(collectionName, response);
  } else {
    $('.fl-editor__sections').hide();
    $("#addSection").remove();
    $('.fl-editor__headline').show().val(JSON.stringify(response, null, 2));

    $('.fl-panel--editor__nav__save').unbind("click").click(function () {
      pageData = $('.fl-editor__headline').val();
      updateContent(collectionName, getPathName(), pageData);
    });

    // complete
    $('.fl-panel--editor__nav__complete').unbind("click").click(function () {
      pageData = $('.fl-editor__headline').val();
      saveAndCompleteContent(collectionName, getPathName(), pageData);
    });
  }


}

function makeEditSections(collectionName, response, path) {
    
  if (response.type === 'bulletin') {
    bulletinEditor(collectionName, response);
  } else {
    $('.fl-editor__sections').hide();
    $("#addSection").remove();
    $('.fl-editor__headline').show().val(JSON.stringify(response, null, 2));

    $('.fl-panel--editor__nav__save').unbind("click").click(function () {
      pageData = $('.fl-editor__headline').val();
      updateContent(collectionName, path, pageData);
    });

    $('.fl-panel--editor__nav__complete').unbind("click").click(function () {
      pageData = $('.fl-editor__headline').val();
      saveAndCompleteContent(collectionName, path, pageData);
    });
  }

  $('.fl-panel--editor__nav__review').unbind("click").click(function () {
    postReview(collectionName, path);
  });
}

Attach click handler to submit for review button to call API.
Attach click handler to submit for review button to call API.
