/** * File which renders the edit form for the posts and processes * the post data generated by edit forms. * * @type {Promise|*} */ //parses the post data const qs = require('querystring'); //updates db const sql = require('../../utils/sql'); /** * Displays a single row in the posts view * * @param post */ const renderPostRow = function(post) { return "
Category # | Name | Header Picture | Date | Edit | " + "