Amsterdam-Music-Lab / MUSCLE

An application to easily set up and run online listening experiments for music research.
https://www.amsterdammusiclab.nl/
MIT License
4 stars 1 forks source link

Fixed: Refactor Django template to avoid method calls and set placeholders consistently #1365

Closed drikusroor closed 6 days ago

drikusroor commented 1 week ago

Consistently set placeholders to "" and refrain from calling methods directly in the Django template. Django does not allow you to call methods in templates. Originally, the placeholder attribute was only set to "" when there was no song / artist name. I think it's better to just always set it. It will appear only whenever there is no value anyway.

Resolves #1327