Description Added admin-side controllers, templates to provide the functionality of edit, delete.
- Import the
images.sqlgiven in this PR description.
- Spin up the framework. Sign in with the admin credentials.
http://localhost:2354/images. This page is the index of the images table.
http://localhost:2354/images/110to view the images related to one specific artifact. Make sure that the images are displaying properly.
- The URL
http://localhost:2354/images/110will display two entries one for type
lineartand other for type
lineart_detailclick on edit button near to the asset of type
lineart. This will take you to single view for that asset.
- Click on the edit button on the type
lineart_detail. This will take you to the edit page for that visual asset.
- Change the type of visual asset to
lineart(first option) and click on the Update button.
- Check if the error box flashes with appropriate information of overwriting.
- You will be taken back to
http://localhost:2354/images/110make sure there is just one entry of type
lineart_detail. The images take a few minutes (max 5 minutes in my case) to get updated.
My pull request has a descriptive title (not a vague title like "Update
My pull request targets the
phoenix/developbranch of the repository.
My commit messages follow best practices.
My code follows the established code style of the repository.
I added tests for the changes I made (if applicable).
I added or updated documentation (if applicable).
I tried running the project locally and verified that there are no visible errors.