ORA: client-side filenums are misaligned after deleting a file

Description

We're not including entries for deleted files when we build the context dict that's used in the oa_uploaded_file.html template. This means that, after deleting a file, the filenum attribute on the Delete Button will get out-of-sync with the true index of the file, because we use an iteration variable to value the filenum attribute: https://github.com/edx/edx-ora2/blob/master/openassessment/templates/openassessmentblock/oa_uploaded_file.html#L34

*Requirements*
We should change the template to not rely on an iteration variable to value something that we use as our basis for deleting files.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Assignee

Matthew Carter

Reporter

Alex Dusenbery

Labels

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Story Points

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Epic Link

Sprint

None

Priority

Unset
Configure