[Frontend] [Improvement] Clean up html and variable names in templates
Some templates have misleading variable names, e.g. measurements.create and update. They been made by copy and past of existing templates and to keep the logic working, variable names were not changed. E.g. whereas the measurement is passed as argument, the template uses still sample as variable name.
Some clean up and refactoring might help top make thing better to understand.