Handle searching for files in a folder using the model.
Allow us to check whether a file with a given filename exists.
Normalise name, "name" is ambiguous.
Display form validation errors when saving a resource.
When we have form validation errors, output appropriate HTML; on page load, since we have limited ability to manipulate the DOM when generating the form, manipulate the DOM client-side to style the form appropriately following Bootstrap conventions. With JS disabled, the error is still visible (albeit less obvious)
Make sure that the material filename is unique.
Fix reference to old name.
Make Materials client-side validation use the new validation framework I'm coding.