Added num clicks functionality
Changed html template for edit

Minor changes to title, and logic for template type
Finished edit functionality