 		addProductButton.tag = section
 		addProductButton.translatesAutoresizingMaskIntoConstraints = false
 		addProductButton.addTarget(self, action: #selector(addProduct(sender:)), for: .touchUpInside)
+
+		let editButton = UIButton(type: UIButtonType.system)
+		editButton.accessibilityIdentifier = "Edit"
+		editButton.setTitle("Edit", for: .normal)
+		editButton.tag = section
+		editButton.translatesAutoresizingMaskIntoConstraints = false
+		editButton.addTarget(self, action: #selector(edit(sender:)), for: .touchUpInside)
 		
 		let routineLogNameLabel = UILabel()
 		routineLogNameLabel.accessibilityIdentifier = "Routine Name"
 		routineLogNameLabel.text = routineLog.name
 		routineLogNameLabel.translatesAutoresizingMaskIntoConstraints = false
 		
-		let stackView = UIStackView(arrangedSubviews: [routineLogNameLabel, addProductButton])
+		let stackView = UIStackView(arrangedSubviews: [routineLogNameLabel, editButton, addProductButton])
 		stackView.axis = .horizontal
 		stackView.distribution = .fill
 		stackView.alignment = .firstBaseline

			routineLogTableView.reloadData()
		}
	}
}

	}
}

extension DailyRoutineLogViewController {
	@IBAction func edit(sender: UIButton) {
		routineLogTableView.setEditing(routineLogTableView.isEditing, animated: true)
	}
}

// MARK: Add product to routine log
extension DailyRoutineLogViewController: ProductSelectionDelegate {
	@IBAction func addProduct(sender: UIButton) {
