Enhance our SES template manager

Job ID: 34219446

Budget: $10 – $30 USD

1-Fix the UX bugs for SES templates
a-When there is an error uploading an image, the server returns 500, and the error is displayed at the bottom. However, the editor still inserts the image tag while it shouldn't.
Moreover, when the next image is uploaded successfully, the error message should disappear, but it doesn't.
b-Leaving the editor page without saving should warn user

2-Write unit tests for the SES templates controllers
Related categories: JavaScript Website Design HTML Debugging